linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfsd: clean up indentation, increase indentation in switch statement
@ 2018-11-03 16:12 Colin King
  2018-11-27 22:33 ` J . Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-11-03 16:12 UTC (permalink / raw)
  To: J . Bruce Fields, Jeff Layton, linux-nfs; +Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 fs/nfsd/nfs4state.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f093fbe47133..eb129a6f9eae 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -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);
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nfsd: clean up indentation, increase indentation in switch statement
  2018-11-03 16:12 [PATCH] nfsd: clean up indentation, increase indentation in switch statement Colin King
@ 2018-11-27 22:33 ` J . Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J . Bruce Fields @ 2018-11-27 22:33 UTC (permalink / raw)
  To: Colin King; +Cc: Jeff Layton, linux-nfs, kernel-janitors, linux-kernel

Thanks, applying for 4.21.--b.

On Sat, Nov 03, 2018 at 04:12:53PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to clean up indentation, add in missing tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  fs/nfsd/nfs4state.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index f093fbe47133..eb129a6f9eae 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -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);
> -- 
> 2.19.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-27 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-03 16:12 [PATCH] nfsd: clean up indentation, increase indentation in switch statement Colin King
2018-11-27 22:33 ` J . Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).