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)
commit7a0566b38c518e98df2359c8c15c2b3f91a4d67e
treeb9f8b4da6db0aaed61dd46f5d96f84e660143479
parent362fb578a573adeb67aa4790d901d851b8f8c8f3
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