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>
This commit is contained in:
committed by
Trond Myklebust
parent
3a10c30acc
commit
99fadcd764
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user