diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-02 02:36:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-02 02:36:47 +0000 |
commit | 8624512aa908741ba2795200133eae0d7f4557ea (patch) | |
tree | d5d3036fccf2604f4c98dedc11e8adb929d6b52e /fs/hfs/file.c | |
parent | 7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff) |
Merge with 2.3.48.
Diffstat (limited to 'fs/hfs/file.c')
-rw-r--r-- | fs/hfs/file.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/fs/hfs/file.c b/fs/hfs/file.c index bb0868fca..4d4a3e9b8 100644 --- a/fs/hfs/file.c +++ b/fs/hfs/file.c @@ -31,7 +31,7 @@ static void hfs_file_truncate(struct inode *); /*================ Global variables ================*/ -static struct file_operations hfs_file_operations = { +struct file_operations hfs_file_operations = { read: hfs_file_read, write: hfs_file_write, mmap: generic_file_mmap, @@ -39,19 +39,8 @@ static struct file_operations hfs_file_operations = { }; struct inode_operations hfs_file_inode_operations = { - &hfs_file_operations, /* default file operations */ - NULL, /* create */ - NULL, /* lookup */ - NULL, /* link */ - NULL, /* unlink */ - NULL, /* symlink */ - NULL, /* mkdir */ - NULL, /* rmdir */ - NULL, /* mknod */ - NULL, /* rename */ - NULL, /* readlink */ - NULL, /* follow_link */ - hfs_file_truncate, /* truncate */ + truncate: hfs_file_truncate, + setattr: hfs_notify_change, }; /*================ Variable-like macros ================*/ |