diff options
author | David Howells <dhowells@redhat.com> | 2019-05-14 17:35:44 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-17 00:23:21 +0300 |
commit | 7c712458669f203fb2c59af8aafea4c4767b4bc9 (patch) | |
tree | afea6a2720e7676304b30fd45b124eb14c3993ff /fs/afs/yfsclient.c | |
parent | a58823ac458968f9fb3dbf97ee2749a62be12807 (diff) | |
download | linux-7c712458669f203fb2c59af8aafea4c4767b4bc9.tar.xz |
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.c | 2 |
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); } |