]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Add missing nfs_put_lock_context()
authorNeilBrown <neilb@suse.com>
Tue, 6 Dec 2016 20:50:06 +0000 (15:50 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 7 Dec 2016 18:41:58 +0000 (13:41 -0500)
commit8f6aa033500e9162b5526e529b20bf1b75175821
treeb9f8b4da6db0aaed61dd46f5d96f84e660143479
parent82ae870269ef2a048c335578ec3bc6f1c85aea08
NFSv4: Add missing nfs_put_lock_context()

Otherwise the lock context won't be freed when we're done with it.

From: NeilBrown <neilb@suse.com>
Fixes: 5bd3f817 ("NFSv4: change nfs4_select_rw_stateid to take a lock_context inplace of lock_owner")
Signed-off-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c