NFS: fix tabs in nfs4xdr.c
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
6c0195a468
commit
05d564fe00
1 changed files with 236 additions and 236 deletions
|
@ -1875,7 +1875,6 @@ out:
|
||||||
* Encode an SETATTR request
|
* Encode an SETATTR request
|
||||||
*/
|
*/
|
||||||
static int nfs4_xdr_enc_setattr(struct rpc_rqst *req, __be32 *p, struct nfs_setattrargs *args)
|
static int nfs4_xdr_enc_setattr(struct rpc_rqst *req, __be32 *p, struct nfs_setattrargs *args)
|
||||||
|
|
||||||
{
|
{
|
||||||
struct xdr_stream xdr;
|
struct xdr_stream xdr;
|
||||||
struct compound_hdr hdr = {
|
struct compound_hdr hdr = {
|
||||||
|
@ -3374,6 +3373,7 @@ static int decode_delegation(struct xdr_stream *xdr, struct nfs_openres *res)
|
||||||
READ_BUF(NFS4_STATEID_SIZE+4);
|
READ_BUF(NFS4_STATEID_SIZE+4);
|
||||||
COPYMEM(res->delegation.data, NFS4_STATEID_SIZE);
|
COPYMEM(res->delegation.data, NFS4_STATEID_SIZE);
|
||||||
READ32(res->do_recall);
|
READ32(res->do_recall);
|
||||||
|
|
||||||
switch (delegation_type) {
|
switch (delegation_type) {
|
||||||
case NFS4_OPEN_DELEGATE_READ:
|
case NFS4_OPEN_DELEGATE_READ:
|
||||||
res->delegation_type = FMODE_READ;
|
res->delegation_type = FMODE_READ;
|
||||||
|
@ -4023,7 +4023,6 @@ static int nfs4_xdr_dec_getattr(struct rpc_rqst *rqstp, __be32 *p, struct nfs4_g
|
||||||
status = decode_getfattr(&xdr, res->fattr, res->server);
|
status = decode_getfattr(&xdr, res->fattr, res->server);
|
||||||
out:
|
out:
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -4047,6 +4046,7 @@ nfs4_xdr_enc_setacl(struct rpc_rqst *req, __be32 *p, struct nfs_setaclargs *args
|
||||||
out:
|
out:
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decode SETACL response
|
* Decode SETACL response
|
||||||
*/
|
*/
|
||||||
|
@ -4707,7 +4707,7 @@ nfs4_stat_to_errno(int stat)
|
||||||
.p_replen = NFS4_##restype##_sz, \
|
.p_replen = NFS4_##restype##_sz, \
|
||||||
.p_statidx = NFSPROC4_CLNT_##proc, \
|
.p_statidx = NFSPROC4_CLNT_##proc, \
|
||||||
.p_name = #proc, \
|
.p_name = #proc, \
|
||||||
}
|
}
|
||||||
|
|
||||||
struct rpc_procinfo nfs4_procedures[] = {
|
struct rpc_procinfo nfs4_procedures[] = {
|
||||||
PROC(READ, enc_read, dec_read),
|
PROC(READ, enc_read, dec_read),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue