mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +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
96e9b4b4ee
commit
02a02eb93c
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue