NFS: Clean up list moves of struct nfs_page
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 18 Feb 2019 16:35:54 +0000 (11:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 08:22:22 +0000 (10:22 +0200)
commit57c491fd844d71a1d1e472204153aa86e2a3dd6e
tree4a1bf4adf11de093bc88f7fb5a72fd0e2078832f
parent79f1b33c53a0f54c6f624792d5cb51826d8f5cff
NFS: Clean up list moves of struct nfs_page

[ Upstream commit 078b5fd92c4913dd367361db6c28568386077c89 ]

In several places we're just moving the struct nfs_page from one list to
another by first removing from the existing list, then adding to the new
one.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/direct.c
fs/nfs/pagelist.c
include/linux/nfs_page.h