]> git.baikalelectronics.ru Git - kernel.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)
commit56e7c8e8aebe006211d937da17d91a7f50ec7b98
tree4c4c2028f5f65e0f5df1c0929a087e21eed7db21
parent0c5d6f82adf2436576a18063d2ee62a7a05073db
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