diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 3c111120b619..16114a8e79d4 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -951,7 +951,7 @@ nfsd_vfs_read(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, | |||
951 | nfsdstats.io_read += host_err; | 951 | nfsdstats.io_read += host_err; |
952 | *count = host_err; | 952 | *count = host_err; |
953 | err = 0; | 953 | err = 0; |
954 | fsnotify_access(file->f_path.dentry); | 954 | fsnotify_access(file); |
955 | } else | 955 | } else |
956 | err = nfserrno(host_err); | 956 | err = nfserrno(host_err); |
957 | out: | 957 | out: |
@@ -1062,7 +1062,7 @@ nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file, | |||
1062 | goto out_nfserr; | 1062 | goto out_nfserr; |
1063 | *cnt = host_err; | 1063 | *cnt = host_err; |
1064 | nfsdstats.io_write += host_err; | 1064 | nfsdstats.io_write += host_err; |
1065 | fsnotify_modify(file->f_path.dentry); | 1065 | fsnotify_modify(file); |
1066 | 1066 | ||
1067 | /* clear setuid/setgid flag after write */ | 1067 | /* clear setuid/setgid flag after write */ |
1068 | if (inode->i_mode & (S_ISUID | S_ISGID)) | 1068 | if (inode->i_mode & (S_ISUID | S_ISGID)) |