From: Benjamin Coddington Date: Sun, 7 Dec 2014 21:05:48 +0000 (-0500) Subject: nfsd4: fix xdr4 count of server in fs_location4 X-Git-Tag: omap-for-v3.19/fixes-rc1~62^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7491f1be5e125eece2ec67e0f79d513caa6c7e;p=pandora-kernel.git nfsd4: fix xdr4 count of server in fs_location4 Fix a bug where nfsd4_encode_components_esc() incorrectly calculates the length of server array in fs_location4--note that it is a count of the number of array elements, not a length in bytes. Signed-off-by: Benjamin Coddington Fixes: 082d4bd72a45 (nfsd4: "backfill" using write_bytes_to_xdr_buf) Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed