summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2008-01-23 08:59:08 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:06:11 -0500
commit99fadcd76465842c014c88b8c9c19b457e9debc0 (patch)
tree34b61c6444beacc58bc643285441a553af420dc4 /fs/nfs
parent3a10c30acc4821ca000b52ed0edafd0d3bf26a52 (diff)
downloadop-kernel-dev-99fadcd76465842c014c88b8c9c19b457e9debc0.zip
op-kernel-dev-99fadcd76465842c014c88b8c9c19b457e9debc0.tar.gz
nfs: convert NFS_*(inode) helpers to static inline
Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 9d7b08c..5d381cf 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -229,7 +229,7 @@ nfs_init_locked(struct inode *inode, void *opaque)
struct nfs_find_desc *desc = (struct nfs_find_desc *)opaque;
struct nfs_fattr *fattr = desc->fattr;
- NFS_FILEID(inode) = fattr->fileid;
+ set_nfs_fileid(inode, fattr->fileid);
nfs_copy_fh(NFS_FH(inode), desc->fh);
return 0;
}
OpenPOWER on IntegriCloud