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:21:00 +0000 (10:21 +0200)
commitfc26de15b5d840286dbd8dac7048897d0699f611
tree31b3abdf91425b3627e0d169748311c86349f880
parent712fc1c0d9758aa623b17c650912c77629691a30
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