1
0
Fork 0

nfsd: clean up indentation, increase indentation in switch statement

Trivial fix to clean up indentation, add in missing tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
hifive-unleashed-5.1
Colin Ian King 2018-11-03 16:12:53 +00:00 committed by J. Bruce Fields
parent 97bce63408
commit f50c9d797d
1 changed files with 3 additions and 3 deletions

View File

@ -6230,15 +6230,15 @@ nfsd4_lockt(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
case NFS4_READ_LT:
case NFS4_READW_LT:
file_lock->fl_type = F_RDLCK;
break;
break;
case NFS4_WRITE_LT:
case NFS4_WRITEW_LT:
file_lock->fl_type = F_WRLCK;
break;
break;
default:
dprintk("NFSD: nfs4_lockt: bad lock type!\n");
status = nfserr_inval;
goto out;
goto out;
}
lo = find_lockowner_str(cstate->clp, &lockt->lt_owner);