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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 20:14:20 +0000 (15:14 -0500)
commit078b5fd92c4913dd367361db6c28568386077c89
tree050fdb065ff9ae968b9cfad355ab3213874da44d
parent8127d82705998568b52ac724e28e00941538083d
NFS: Clean up list moves of struct nfs_page

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>
fs/nfs/direct.c
fs/nfs/pagelist.c
include/linux/nfs_page.h