summaryrefslogtreecommitdiffstats
path: root/fs/nfs/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/nfs/file.c
parent7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff)
Merge with 2.3.48.
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r--fs/nfs/file.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 911b61b9c..9a91bb1ab 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -40,7 +40,7 @@ static ssize_t nfs_file_write(struct file *, const char *, size_t, loff_t *);
static int nfs_file_flush(struct file *);
static int nfs_fsync(struct file *, struct dentry *dentry);
-static struct file_operations nfs_file_operations = {
+struct file_operations nfs_file_operations = {
read: nfs_file_read,
write: nfs_file_write,
mmap: nfs_file_mmap,
@@ -52,21 +52,8 @@ static struct file_operations nfs_file_operations = {
};
struct inode_operations nfs_file_inode_operations = {
- &nfs_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 */
- NULL, /* truncate */
- NULL, /* permission */
- nfs_revalidate, /* revalidate */
+ revalidate: nfs_revalidate,
+ setattr: nfs_notify_change,
};
/* Hack for future NFS swap support */