NFS: Don't advance the page pointer unless the page is full
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 26 Feb 2022 14:38:19 +0000 (09:38 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:38 +0000 (08:43 -0500)
commitc8f0523ba398b72ffdb6e41930c089b75a6e2acf
tree679d64a8bf570a925ab13dfccb2d0978fff6f9fd
parent728dd0ab37421396927749fc8cec9c2009c526c8
NFS: Don't advance the page pointer unless the page is full

When we hit the end of the data in the readdir page, we don't want to
start filling a new page, unless this one is full.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c