commit | b95239ca4954a0d48b19c09ce7e8f31b453b4216 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Mon Sep 26 14:41:01 2022 -0400 |
committer | Chuck Lever <chuck.lever@oracle.com> | Mon Sep 26 14:50:57 2022 -0400 |
tree | f675a2b66ad391f8dbe42c4f1516e1b54a6a1151 | |
parent | 25fbe1fca14142beae6c882f7906510363d42bff [diff] |
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>