mirror of https://gitee.com/openkylin/linux.git
NFS: remove white space from nfs4xdr.c
Clean-up Signed-off-by: Andy Adamson<andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
374130770e
commit
6c0195a468
|
@ -3049,8 +3049,7 @@ static int decode_create(struct xdr_stream *xdr, struct nfs4_change_info *cinfo)
|
|||
static int decode_server_caps(struct xdr_stream *xdr, struct nfs4_server_caps_res *res)
|
||||
{
|
||||
__be32 *savep;
|
||||
uint32_t attrlen,
|
||||
bitmap[2] = {0};
|
||||
uint32_t attrlen, bitmap[2] = {0};
|
||||
int status;
|
||||
|
||||
if ((status = decode_op_hdr(xdr, OP_GETATTR)) != 0)
|
||||
|
@ -3076,8 +3075,7 @@ static int decode_server_caps(struct xdr_stream *xdr, struct nfs4_server_caps_re
|
|||
static int decode_statfs(struct xdr_stream *xdr, struct nfs_fsstat *fsstat)
|
||||
{
|
||||
__be32 *savep;
|
||||
uint32_t attrlen,
|
||||
bitmap[2] = {0};
|
||||
uint32_t attrlen, bitmap[2] = {0};
|
||||
int status;
|
||||
|
||||
if ((status = decode_op_hdr(xdr, OP_GETATTR)) != 0)
|
||||
|
@ -3109,8 +3107,7 @@ static int decode_statfs(struct xdr_stream *xdr, struct nfs_fsstat *fsstat)
|
|||
static int decode_pathconf(struct xdr_stream *xdr, struct nfs_pathconf *pathconf)
|
||||
{
|
||||
__be32 *savep;
|
||||
uint32_t attrlen,
|
||||
bitmap[2] = {0};
|
||||
uint32_t attrlen, bitmap[2] = {0};
|
||||
int status;
|
||||
|
||||
if ((status = decode_op_hdr(xdr, OP_GETATTR)) != 0)
|
||||
|
@ -3720,7 +3717,6 @@ static int decode_setattr(struct xdr_stream *xdr, struct nfs_setattrres *res)
|
|||
uint32_t bmlen;
|
||||
int status;
|
||||
|
||||
|
||||
status = decode_op_hdr(xdr, OP_SETATTR);
|
||||
if (status)
|
||||
return status;
|
||||
|
@ -3740,7 +3736,7 @@ static int decode_setclientid(struct xdr_stream *xdr, struct nfs_client *clp)
|
|||
READ32(opnum);
|
||||
if (opnum != OP_SETCLIENTID) {
|
||||
dprintk("nfs: decode_setclientid: Server returned operation"
|
||||
" %d\n", opnum);
|
||||
" %d\n", opnum);
|
||||
return -EIO;
|
||||
}
|
||||
READ32(nfserr);
|
||||
|
|
Loading…
Reference in New Issue