OSDN Git Service

NFSv4: nfs4_return_incompatible_delegation() should check delegation validity
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 27 Oct 2019 17:38:45 +0000 (13:38 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commit40e6aa10aaf233b58db319e77a6a05ed633e107c
tree4115b2aa2ae83bd01bb309e46e34d17d221a3895
parent1deed572351806322c3d9af005c2cf931ff23174
NFSv4: nfs4_return_incompatible_delegation() should check delegation validity

Ensure that we check that the delegation is valid in
nfs4_return_incompatible_delegation() before we try to return it.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c