diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-09-26 14:41:01 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 14:50:57 -0400 |
commit | b95239ca4954a0d48b19c09ce7e8f31b453b4216 (patch) | |
tree | f675a2b66ad391f8dbe42c4f1516e1b54a6a1151 /mm | |
parent | 25fbe1fca14142beae6c882f7906510363d42bff (diff) | |
download | linux-b95239ca4954a0d48b19c09ce7e8f31b453b4216.tar.gz |
nfsd: make nfsd4_run_cb a bool return function
queue_work can return false and not queue anything, if the work is
already queued. If that happens in the case of a CB_RECALL, we'll have
taken an extra reference to the stid that will never be put. Ensure we
throw a warning in that case.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions