commit | bf7491f1be5e125eece2ec67e0f79d513caa6c7e | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Sun Dec 07 16:05:48 2014 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Dec 09 15:52:17 2014 -0500 |
tree | 10931e5d07399bc9f0ce0bcc7602c852de32457a | |
parent | 5a64e56976f1ba98743e1678c0029a98e9034c81 [diff] |
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 <bcodding@redhat.com> Fixes: 082d4bd72a45 (nfsd4: "backfill" using write_bytes_to_xdr_buf) Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>