NFS: Fix nfs_coalesce_size() to work with folios
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 19 Jan 2023 21:33:37 +0000 (16:33 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 14 Feb 2023 19:22:32 +0000 (14:22 -0500)
commit8e0bdc7021f713fdf3b985cda3ce715e41b06698
tree240723eda707d43a91b90650e6805f2fac7b44e6
parenteb9f2a5a5e85fd24949480d1d02c2a497f26e154
NFS: Fix nfs_coalesce_size() to work with folios

Use the helper folio_size() where appropriate.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pagelist.c
include/linux/nfs_page.h