]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clean up readdir struct nfs_cache_array
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 18:45:55 +0000 (13:45 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:51 +0000 (14:05 -0500)
commit3c111637759940a2c24448c298c18cfdcf990beb
treea0b2f9e2e24781e6b446853d179019ba294c8a82
parent6071e8414e68f6628a76e89b72df27d18a89e423
NFS: Clean up readdir struct nfs_cache_array

Since the 'eof_index' is only ever used as a flag, make it so.
Also add a flag to detect if the page has been completely filled.

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