OSDN Git Service

NFS: Clean up directory array handling
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 17:34:43 +0000 (12:34 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:51 +0000 (14:05 -0500)
commit1f1d4aa4e4bcb4721d3c51f4c07dda790b6accd9
tree5539b8d864db50994aa56bdbcb203e28e3ef3b50
parent972bcdf233096d36b2f3e02f34a80d0f073b6b05
NFS: Clean up directory array handling

Refactor to use pagecache_get_page() so that we can fill the page
in multiple stages.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Dave Wysochanski <dwysocha@redhat.com>
fs/nfs/dir.c