mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
nfsd: Drop the client reference in client_states_open()
commit1f941b2c23upstream. In error path, call drop_client() to drop the reference obtained by get_nfsdfs_clp(). Fixes:78599c42ae("nfsd4: add file to display list of client's opens") Cc: stable@vger.kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0d666db731
commit
cb0255265f
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue