Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86bbd742 authored by Frank Sorenson's avatar Frank Sorenson Committed by Trond Myklebust
Browse files

NFS: change sign of nfs_fh length



The filehandle has a length which is defined as a 32-bit
"unsigned integer".  Change sign of the length appropriately.

Signed-off-by: default avatarFrank Sorenson <sorenson@redhat.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 93bdcf9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3516,7 +3516,7 @@ static int decode_attr_exclcreat_supported(struct xdr_stream *xdr,
static int decode_attr_filehandle(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fh *fh)
{
	__be32 *p;
	int len;
	u32 len;

	if (fh != NULL)
		memset(fh, 0, sizeof(*fh));