diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-10-05 06:32:23 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2023-01-26 07:00:06 -0500 |
commit | 58a033c9a3e003e048a0431a296e58c6b363b02b (patch) | |
tree | 5d2a19fcb2939c3d52f51ea9ccaf8b238bcd42a1 /fs/nfs | |
parent | 638e3e7d9493dadca16cac7ea66e7cf368d4065a (diff) |
nfsd: remove fetch_iversion export operation
Now that the i_version counter is reported in struct kstat, there is no
need for this export operation.
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/export.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 01596f2d0a1e..1a9d5aa51dfb 100644 --- a/fs/nfs/export.c +++ b/fs/nfs/export.c @@ -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, |