patch-2.3.43 linux/fs/hfs/file_cap.c
Next file: linux/fs/hfs/file_hdr.c
Previous file: linux/fs/hfs/file.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Feb 10 12:16:58 2000
- Orig file:
v2.3.42/linux/fs/hfs/file_cap.c
- Orig date:
Fri Jan 7 19:13:22 2000
diff -u --recursive --new-file v2.3.42/linux/fs/hfs/file_cap.c linux/fs/hfs/file_cap.c
@@ -47,19 +47,9 @@
/*================ Global variables ================*/
static struct file_operations hfs_cap_info_operations = {
- NULL, /* lseek - default */
- cap_info_read, /* read */
- cap_info_write, /* write */
- NULL, /* readdir - bad */
- NULL, /* select - default */
- NULL, /* ioctl - default */
- NULL, /* mmap - not yet */
- NULL, /* no special open code */
- NULL, /* flush */
- NULL, /* no special release code */
- file_fsync, /* fsync - default */
- NULL, /* fasync - default */
- NULL /* lock - none */
+ read: cap_info_read,
+ write: cap_info_write,
+ fsync: file_fsync,
};
struct inode_operations hfs_cap_info_inode_operations = {
@@ -75,12 +65,7 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* get_block - none */
- NULL, /* readpage */
- NULL, /* writepage */
cap_info_truncate, /* truncate */
- NULL, /* permission */
- NULL /* revalidata */
};
/*================ File-local functions ================*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)