From 8624512aa908741ba2795200133eae0d7f4557ea Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 2 Mar 2000 02:36:47 +0000 Subject: Merge with 2.3.48. --- fs/fat/file.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'fs/fat/file.c') 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( -- cgit v1.2.3