Skip to content

Commit 26320d7

Browse files
committed
NFSD: Fix whitespace
Clean up: Pull case arms back one tab stop to conform every other switch statement in fs/nfsd/nfs4proc.c. Signed-off-by: Chuck Lever <[email protected]>
1 parent f67a16b commit 26320d7

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

fs/nfsd/nfs4proc.c

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -600,33 +600,33 @@ nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
600600
goto out;
601601

602602
switch (open->op_claim_type) {
603-
case NFS4_OPEN_CLAIM_DELEGATE_CUR:
604-
case NFS4_OPEN_CLAIM_NULL:
605-
status = do_open_lookup(rqstp, cstate, open, &resfh);
606-
if (status)
607-
goto out;
608-
break;
609-
case NFS4_OPEN_CLAIM_PREVIOUS:
610-
status = nfs4_check_open_reclaim(cstate->clp);
611-
if (status)
612-
goto out;
613-
open->op_openowner->oo_flags |= NFS4_OO_CONFIRMED;
614-
reclaim = true;
615-
fallthrough;
616-
case NFS4_OPEN_CLAIM_FH:
617-
case NFS4_OPEN_CLAIM_DELEG_CUR_FH:
618-
status = do_open_fhandle(rqstp, cstate, open);
619-
if (status)
620-
goto out;
621-
resfh = &cstate->current_fh;
622-
break;
623-
case NFS4_OPEN_CLAIM_DELEG_PREV_FH:
624-
case NFS4_OPEN_CLAIM_DELEGATE_PREV:
625-
status = nfserr_notsupp;
603+
case NFS4_OPEN_CLAIM_DELEGATE_CUR:
604+
case NFS4_OPEN_CLAIM_NULL:
605+
status = do_open_lookup(rqstp, cstate, open, &resfh);
606+
if (status)
626607
goto out;
627-
default:
628-
status = nfserr_inval;
608+
break;
609+
case NFS4_OPEN_CLAIM_PREVIOUS:
610+
status = nfs4_check_open_reclaim(cstate->clp);
611+
if (status)
629612
goto out;
613+
open->op_openowner->oo_flags |= NFS4_OO_CONFIRMED;
614+
reclaim = true;
615+
fallthrough;
616+
case NFS4_OPEN_CLAIM_FH:
617+
case NFS4_OPEN_CLAIM_DELEG_CUR_FH:
618+
status = do_open_fhandle(rqstp, cstate, open);
619+
if (status)
620+
goto out;
621+
resfh = &cstate->current_fh;
622+
break;
623+
case NFS4_OPEN_CLAIM_DELEG_PREV_FH:
624+
case NFS4_OPEN_CLAIM_DELEGATE_PREV:
625+
status = nfserr_notsupp;
626+
goto out;
627+
default:
628+
status = nfserr_inval;
629+
goto out;
630630
}
631631
/*
632632
* nfsd4_process_open2() does the actual opening of the file. If

0 commit comments

Comments
 (0)