OSDN Git Service

nfsd4: set fl_owner to delegation, not file pointer
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Feb 2018 03:08:45 +0000 (22:08 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Mar 2018 21:51:11 +0000 (17:51 -0400)
commit653e514e9ebcb1d6ab71c2c8bb28a3b65ffbfe15
tree579fe0f28cd593e4ef91bbbd44e785243f0eb121
parentcba7b3d15071fa0deb5b6e7a1c97c29d2904e6a3
nfsd4: set fl_owner to delegation, not file pointer

For now this makes no difference, as for files having delegations,
there's a one-to-one relationship between an nfs4_file and its
nfs4_delegation.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
fs/nfsd/nfs4state.c