summaryrefslogtreecommitdiffstats
path: root/fs/afs/yfsclient.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-05-14 15:35:44 +0100
committerDavid Howells <dhowells@redhat.com>2019-05-16 22:23:21 +0100
commit7c712458669f203fb2c59af8aafea4c4767b4bc9 (patch)
treeafea6a2720e7676304b30fd45b124eb14c3993ff /fs/afs/yfsclient.c
parenta58823ac458968f9fb3dbf97ee2749a62be12807 (diff)
downloadlinux-7c712458669f203fb2c59af8aafea4c4767b4bc9.tar.bz2
afs: Don't save callback version and type fields
Don't save callback version and type fields as the version is about the format of the callback information and the type is relative to the particular RPC call. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/yfsclient.c')
-rw-r--r--fs/afs/yfsclient.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c
index 80f579594660..c8f71fc9920b 100644
--- a/fs/afs/yfsclient.c
+++ b/fs/afs/yfsclient.c
@@ -245,8 +245,6 @@ static void xdr_decode_YFSCallBack(const __be32 **_bp,
cb_expiry = call->reply_time;
cb_expiry = ktime_add(cb_expiry, xdr_to_u64(x->expiration_time) * 100);
cb->expires_at = ktime_divns(cb_expiry, NSEC_PER_SEC);
- cb->version = ntohl(x->version);
- cb->type = ntohl(x->type);
scb->have_cb = true;
*_bp += xdr_size(x);
}