aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-22 20:06:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:35 -0400
commit1f163415dc05983830bcc47b33c155b2528b1574 (patch)
treee4180da9947f8b802b6927726cda9d0949f8e00f /fs/nfs/file.c
parent27951bd26031f6c27d38df9e94623bbe208a2464 (diff)
downloadkernel_samsung_smdk4412-1f163415dc05983830bcc47b33c155b2528b1574.zip
kernel_samsung_smdk4412-1f163415dc05983830bcc47b33c155b2528b1574.tar.gz
kernel_samsung_smdk4412-1f163415dc05983830bcc47b33c155b2528b1574.tar.bz2
NFS: Make better use of inode* dereferencing macros
Make better use of inode* dereferencing macros to hide dereferencing chains (including NFS_PROTO and NFS_CLIENT). Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r--fs/nfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 48e8928..a146ed3 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -111,7 +111,7 @@ nfs_file_open(struct inode *inode, struct file *filp)
nfs_inc_stats(inode, NFSIOS_VFSOPEN);
lock_kernel();
- res = NFS_SERVER(inode)->rpc_ops->file_open(inode, filp);
+ res = NFS_PROTO(inode)->file_open(inode, filp);
unlock_kernel();
return res;
}