diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-27 20:46:24 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-03-02 16:43:39 +0300 |
commit | 0adf85b445c7fbc5d2df1f8c1bc54d62c4340237 (patch) | |
tree | af75a90b4370fdb12a876a5bd996274950ba05a1 /fs/nfs/nfs3xdr.c | |
parent | b0365ccb0712efacf99936e94e92eb7ae63de4d5 (diff) | |
download | linux-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 'fs/nfs/nfs3xdr.c')
-rw-r--r-- | fs/nfs/nfs3xdr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index d6779ceeb39e..3b0b650c9c5a 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c @@ -2024,7 +2024,6 @@ int nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, zero_nfs_fh3(entry->fh); } - entry->prev_cookie = entry->cookie; entry->cookie = new_cookie; return 0; |