summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-04-27 19:48:17 +0200
committerTrond Myklebust2012-05-01 21:42:39 +0200
commita9f6991b6cd3f55aa8482633337cd811d84d0dd8 (patch)
tree8b01203e71f30cd058182b6f2a61f32086d105a7 /fs/nfs/nfs4xdr.c
parentNFS: Simplify the nfs_read_completion functions (diff)
downloadkernel-qcow2-linux-a9f6991b6cd3f55aa8482633337cd811d84d0dd8.tar.gz
kernel-qcow2-linux-a9f6991b6cd3f55aa8482633337cd811d84d0dd8.tar.xz
kernel-qcow2-linux-a9f6991b6cd3f55aa8482633337cd811d84d0dd8.zip
NFSv4: Fix a typo in NFS4_enc_link_sz
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 4c3cc0ed9543..fe6142417dd9 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -626,9 +626,9 @@ static int nfs4_stat_to_errno(int);
encode_savefh_maxsz + \
encode_putfh_maxsz + \
encode_link_maxsz + \
- decode_getattr_maxsz + \
+ encode_getattr_maxsz + \
encode_restorefh_maxsz + \
- decode_getattr_maxsz)
+ encode_getattr_maxsz)
#define NFS4_dec_link_sz (compound_decode_hdr_maxsz + \
decode_sequence_maxsz + \
decode_putfh_maxsz + \