Skip to content

Commit d94e0c0

Browse files
npiggintorvalds
authored andcommitted
nfs: no PG_private waiters remain, remove waker
Since commit 4f52b6b ("NFS: Don't call COMMIT in ->releasepage()"), no tasks wait on PagePrivate. Thus the wake introduced in commit 9590544 ("NFS: avoid deadlocks with loop-back mounted NFS filesystems.") can be removed. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Nicholas Piggin <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 93607e5 commit d94e0c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfs/write.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,6 @@ static void nfs_inode_remove_request(struct nfs_page *req)
728728
if (likely(head->wb_page && !PageSwapCache(head->wb_page))) {
729729
set_page_private(head->wb_page, 0);
730730
ClearPagePrivate(head->wb_page);
731-
smp_mb__after_atomic();
732-
wake_up_page(head->wb_page, PG_private);
733731
clear_bit(PG_MAPPED, &head->wb_flags);
734732
}
735733
nfsi->nrequests--;

0 commit comments

Comments
 (0)