nfsd: clean up mounted_on_fileid handling
authorJeff Layton <jlayton@kernel.org>
Thu, 8 Sep 2022 16:31:07 +0000 (12:31 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Sep 2022 18:02:30 +0000 (14:02 -0400)
commit6106d9119b6599fa23dc556b429d887b4c2d9f62
tree65801cdf0f3f1ac883b9c9b82473af04fabb07e6
parent7518a3dc5ea249d4112156ce71b8b184eb786151
nfsd: clean up mounted_on_fileid handling

We only need the inode number for this, not a full rack of attributes.
Rename this function make it take a pointer to a u64 instead of
struct kstat, and change it to just request STATX_INO.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
[ cel: renamed get_mounted_on_ino() ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c