diff options
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 78b26f875eee..509dcb58959e 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -129,7 +129,7 @@ nfs_file_open(struct inode *inode, struct file *filp) | |||
129 | 129 | ||
130 | nfs_inc_stats(inode, NFSIOS_VFSOPEN); | 130 | nfs_inc_stats(inode, NFSIOS_VFSOPEN); |
131 | lock_kernel(); | 131 | lock_kernel(); |
132 | res = NFS_PROTO(inode)->file_open(inode, filp); | 132 | res = nfs_open(inode, filp); |
133 | unlock_kernel(); | 133 | unlock_kernel(); |
134 | return res; | 134 | return res; |
135 | } | 135 | } |
@@ -147,7 +147,7 @@ nfs_file_release(struct inode *inode, struct file *filp) | |||
147 | if (filp->f_mode & FMODE_WRITE) | 147 | if (filp->f_mode & FMODE_WRITE) |
148 | nfs_wb_all(dentry->d_inode); | 148 | nfs_wb_all(dentry->d_inode); |
149 | nfs_inc_stats(inode, NFSIOS_VFSRELEASE); | 149 | nfs_inc_stats(inode, NFSIOS_VFSRELEASE); |
150 | return NFS_PROTO(inode)->file_release(inode, filp); | 150 | return nfs_release(inode, filp); |
151 | } | 151 | } |
152 | 152 | ||
153 | /** | 153 | /** |