diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-20 20:24:02 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-06 00:30:41 +0100 |
commit | d5fb4ce33e26e4c1c31c1609b8ffbb24f80bcab8 (patch) | |
tree | 3b6335ba79258c540be8a21d1ffce412b6d95d52 /fs/nfs/callback_xdr.c | |
parent | ce008c4bb9766bc7eeb02e8299c8baadc25da90b (diff) | |
download | op-kernel-dev-d5fb4ce33e26e4c1c31c1609b8ffbb24f80bcab8.zip op-kernel-dev-d5fb4ce33e26e4c1c31c1609b8ffbb24f80bcab8.tar.gz |
NFSv4.1: Don't confuse target_highest_slotid and max_slots in cb_recall_slot
Don't confuse the table size and the target_highest_slotid...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
-rw-r--r-- | fs/nfs/callback_xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index 742ff4f..81e8c7d 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -520,7 +520,7 @@ static __be32 decode_recallslot_args(struct svc_rqst *rqstp, p = read_buf(xdr, 4); if (unlikely(p == NULL)) return htonl(NFS4ERR_BADXDR); - args->crsa_target_max_slots = ntohl(*p++); + args->crsa_target_highest_slotid = ntohl(*p++); return 0; } |