commit | b8232d3315ec746e3b5d4c9252541567e57a509b | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Thu Feb 15 15:29:15 2018 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Mar 20 17:51:10 2018 -0400 |
tree | 0c77d08d40df7720311225bf90df3d769b859263 | |
parent | 6f29d07ca4b999c36d42f9cf8d1dddf9ddca3250 [diff] |
nfsd: simplify put of fi_deleg_file fi_delegees is basically just a reference count on users of fi_deleg_file, which is cleared when fi_delegees goes to zero. The fi_deleg_file check here is redundant. Also add an assertion to make sure we don't have unbalanced puts. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org>