|
@@ -2494,7 +2494,7 @@ static int decode_attr_fs_locations(struct xdr_stream *xdr, uint32_t *bitmap, st
|
|
int i;
|
|
int i;
|
|
dprintk("%s: using first %d of %d servers returned for location %d\n", __FUNCTION__, NFS4_FS_LOCATION_MAXSERVERS, m, res->nlocations);
|
|
dprintk("%s: using first %d of %d servers returned for location %d\n", __FUNCTION__, NFS4_FS_LOCATION_MAXSERVERS, m, res->nlocations);
|
|
for (i = loc->nservers; i < m; i++) {
|
|
for (i = loc->nservers; i < m; i++) {
|
|
- int len;
|
|
|
|
|
|
+ unsigned int len;
|
|
char *data;
|
|
char *data;
|
|
status = decode_opaque_inline(xdr, &len, &data);
|
|
status = decode_opaque_inline(xdr, &len, &data);
|
|
if (unlikely(status != 0))
|
|
if (unlikely(status != 0))
|
|
@@ -2642,7 +2642,7 @@ static int decode_attr_nlink(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static int decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, int32_t *uid)
|
|
|
|
|
|
+static int decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, uint32_t *uid)
|
|
{
|
|
{
|
|
uint32_t len;
|
|
uint32_t len;
|
|
__be32 *p;
|
|
__be32 *p;
|
|
@@ -2667,7 +2667,7 @@ static int decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap, struct nf
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static int decode_attr_group(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, int32_t *gid)
|
|
|
|
|
|
+static int decode_attr_group(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_client *clp, uint32_t *gid)
|
|
{
|
|
{
|
|
uint32_t len;
|
|
uint32_t len;
|
|
__be32 *p;
|
|
__be32 *p;
|