]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix an ABBA issue in nfs_lock_and_join_requests()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 14:29:32 +0000 (10:29 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:46 +0000 (11:54 -0400)
commitae0beeec73a5422d6017b01c79b7480ea4ecff1e
tree5dc285fd74410fade30f8fe3236c11010f9567d7
parent56e7c8e8aebe006211d937da17d91a7f50ec7b98
NFS: Fix an ABBA issue in nfs_lock_and_join_requests()

All other callers of nfs_page_group_lock() appear to already hold the
page lock on the head page, so doing it in the opposite order here
is inefficient, although not deadlock prone since we roll back all
locks on contention.

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