forked from Minki/linux
nfs: no PG_private waiters remain, remove waker
Since commit4f52b6bb
("NFS: Don't call COMMIT in ->releasepage()"), no tasks wait on PagePrivate, so the wake introduced in commit95905446
("NFS: avoid deadlocks with loop-back mounted NFS filesystems.") can be removed. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
920b4530fb
commit
600424e3d9
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user