summaryrefslogtreecommitdiffstats
path: root/fs/fat/file.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
commit8624512aa908741ba2795200133eae0d7f4557ea (patch)
treed5d3036fccf2604f4c98dedc11e8adb929d6b52e /fs/fat/file.c
parent7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff)
Merge with 2.3.48.
Diffstat (limited to 'fs/fat/file.c')
-rw-r--r--fs/fat/file.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 0c535b8da..4481a6df9 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -30,7 +30,7 @@
#define PRINTK(x)
#define Printk(x) printk x
-static struct file_operations fat_file_operations = {
+struct file_operations fat_file_operations = {
read: fat_file_read,
write: fat_file_write,
mmap: generic_file_mmap,
@@ -38,19 +38,8 @@ static struct file_operations fat_file_operations = {
};
struct inode_operations fat_file_inode_operations = {
- &fat_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 */
- fat_truncate, /* truncate */
+ truncate: fat_truncate,
+ setattr: fat_notify_change,
};
ssize_t fat_file_read(