Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 600424e3 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Anna Schumaker
Browse files

nfs: no PG_private waiters remain, remove waker



Since commit 4f52b6bb ("NFS: Don't call COMMIT in ->releasepage()"),
no tasks wait on PagePrivate, so the wake introduced in commit 95905446
("NFS: avoid deadlocks with loop-back mounted NFS filesystems.") can
be removed.

Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 920b4530
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -728,8 +728,6 @@ static void nfs_inode_remove_request(struct nfs_page *req)
		if (likely(head->wb_page && !PageSwapCache(head->wb_page))) {
			set_page_private(head->wb_page, 0);
			ClearPagePrivate(head->wb_page);
			smp_mb__after_atomic();
			wake_up_page(head->wb_page, PG_private);
			clear_bit(PG_MAPPED, &head->wb_flags);
		}
		nfsi->nrequests--;