]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFSv4: Fix a typo in NFS4_enc_link_sz
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Apr 2012 17:48:17 +0000 (13:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2012 19:42:39 +0000 (15:42 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c

index 4c3cc0ed9543dbb857f35d640241d6cc4e78d959..fe6142417dd95d8778fe45e78a8435282a477bfb 100644 (file)
@@ -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 + \