diff options
Diffstat (limited to 'fs/nfs/export.c')
| -rw-r--r-- | fs/nfs/export.c | 9 | 
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 01596f2d0a1e..d6a6d1ebb8fd 100644 --- a/fs/nfs/export.c +++ b/fs/nfs/export.c @@ -42,7 +42,7 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent)  	dprintk("%s: max fh len %d inode %p parent %p",  		__func__, *max_len, inode, parent); -	if (*max_len < len || IS_AUTOMOUNT(inode)) { +	if (*max_len < len) {  		dprintk("%s: fh len %d too small, required %d\n",  			__func__, *max_len, len);  		*max_len = len; @@ -145,17 +145,10 @@ out:  	return parent;  } -static u64 nfs_fetch_iversion(struct inode *inode) -{ -	nfs_revalidate_inode(inode, NFS_INO_INVALID_CHANGE); -	return inode_peek_iversion_raw(inode); -} -  const struct export_operations nfs_export_ops = {  	.encode_fh = nfs_encode_fh,  	.fh_to_dentry = nfs_fh_to_dentry,  	.get_parent = nfs_get_parent, -	.fetch_iversion = nfs_fetch_iversion,  	.flags = EXPORT_OP_NOWCC|EXPORT_OP_NOSUBTREECHK|  		EXPORT_OP_CLOSE_BEFORE_UNLINK|EXPORT_OP_REMOTE_FS|  		EXPORT_OP_NOATOMIC_ATTR,  |