]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
NFS: Fix a reference and lock leak in nfs_lock_and_join_requests()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 14:11:11 +0000 (10:11 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:46 +0000 (11:54 -0400)
commit7cb9cd9aa2eafe869935d4168031f1ed376d924c
tree4c4c2028f5f65e0f5df1c0929a087e21eed7db21
parent08fead2ae5a9953d47677416cc5f6bcae448480d
NFS: Fix a reference and lock leak in nfs_lock_and_join_requests()

Yes, this is a situation that should never happen (hence the WARN_ON)
but we should still ensure that we free up the locks and references to
the faulty pages.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c