|
@@ -3775,7 +3775,8 @@ static ssize_t __nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t bu
|
|
.rpc_argp = &args,
|
|
.rpc_argp = &args,
|
|
.rpc_resp = &res,
|
|
.rpc_resp = &res,
|
|
};
|
|
};
|
|
- int ret = -ENOMEM, npages, i, acl_len = 0;
|
|
|
|
|
|
+ int ret = -ENOMEM, npages, i;
|
|
|
|
+ size_t acl_len = 0;
|
|
|
|
|
|
npages = (buflen + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
|
npages = (buflen + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
|
/* As long as we're doing a round trip to the server anyway,
|
|
/* As long as we're doing a round trip to the server anyway,
|