]> 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)
commitbacd2929be9516e68d351ff8b1fff3171a735f54
tree5dc285fd74410fade30f8fe3236c11010f9567d7
parent3a582710a003f0f566d63bf4da5ed46945c01ded
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