summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-02-27 20:46:24 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-03-02 16:43:39 +0300
commit0adf85b445c7fbc5d2df1f8c1bc54d62c4340237 (patch)
treeaf75a90b4370fdb12a876a5bd996274950ba05a1 /include
parentb0365ccb0712efacf99936e94e92eb7ae63de4d5 (diff)
downloadlinux-0adf85b445c7fbc5d2df1f8c1bc54d62c4340237.tar.xz
NFS: Optimise away the previous cookie field
Replace the 'previous cookie' field in struct nfs_entry with the array->last_cookie. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_xdr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 728cb0c1f0b6..82f7c2730b9a 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -745,8 +745,7 @@ struct nfs_auth_info {
*/
struct nfs_entry {
__u64 ino;
- __u64 cookie,
- prev_cookie;
+ __u64 cookie;
const char * name;
unsigned int len;
int eof;