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-05 18:30:41 -0500 |
commit | d5fb4ce33e26e4c1c31c1609b8ffbb24f80bcab8 (patch) | |
tree | 3b6335ba79258c540be8a21d1ffce412b6d95d52 /fs/nfs/callback_xdr.c | |
parent | ce008c4bb9766bc7eeb02e8299c8baadc25da90b (diff) |
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 742ff4ffced7..81e8c7d4c2e8 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, | |||
520 | p = read_buf(xdr, 4); | 520 | p = read_buf(xdr, 4); |
521 | if (unlikely(p == NULL)) | 521 | if (unlikely(p == NULL)) |
522 | return htonl(NFS4ERR_BADXDR); | 522 | return htonl(NFS4ERR_BADXDR); |
523 | args->crsa_target_max_slots = ntohl(*p++); | 523 | args->crsa_target_highest_slotid = ntohl(*p++); |
524 | return 0; | 524 | return 0; |
525 | } | 525 | } |
526 | 526 | ||