summaryrefslogtreecommitdiffstats
path: root/fs/hfs/file_hdr.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
commit529c593ece216e4aaffd36bd940cb94f1fa63129 (patch)
tree78f1c0b805f5656aa7b0417a043c5346f700a2cf /fs/hfs/file_hdr.c
parent0bd079751d25808d1972baee5c4eaa1db2227257 (diff)
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'fs/hfs/file_hdr.c')
-rw-r--r--fs/hfs/file_hdr.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/fs/hfs/file_hdr.c b/fs/hfs/file_hdr.c
index efbe84f75..b0cf0291e 100644
--- a/fs/hfs/file_hdr.c
+++ b/fs/hfs/file_hdr.c
@@ -48,19 +48,9 @@ static void hdr_truncate(struct inode *);
/*================ Global variables ================*/
static struct file_operations hfs_hdr_operations = {
- NULL, /* lseek - default */
- hdr_read, /* read */
- hdr_write, /* write */
- NULL, /* readdir - bad */
- NULL, /* select - default */
- NULL, /* ioctl - default */
- NULL, /* mmap - XXX: 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: hdr_read,
+ write: hdr_write,
+ fsync: file_fsync,
};
struct inode_operations hfs_hdr_inode_operations = {
@@ -76,13 +66,7 @@ struct inode_operations hfs_hdr_inode_operations = {
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* get_block - XXX: not available since
- header part has no disk block */
- NULL, /* readpage */
- NULL, /* writepage */
hdr_truncate, /* truncate */
- NULL, /* permission */
- NULL /* revalidate */
};
const struct hfs_hdr_layout hfs_dbl_fil_hdr_layout = {