From 7c712458669f203fb2c59af8aafea4c4767b4bc9 Mon Sep 17 00:00:00 2001 From: David Howells Date: Tue, 14 May 2019 15:35:44 +0100 Subject: 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 --- fs/afs/yfsclient.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fs/afs/yfsclient.c') 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); } -- cgit v1.2.3