summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-03 16:12:53 +0000
committerJ. Bruce Fields <bfields@redhat.com>2018-11-28 18:36:03 -0500
commitf50c9d797d3df41e13265491c722d3d15b038d57 (patch)
tree1d88e8d870333a1f00e167eb48368b1f16891fa6 /fs/nfsd
parent97bce63408f192712574a4d9d6dcab794eed3a79 (diff)
downloadlinux-f50c9d797d3df41e13265491c722d3d15b038d57.tar.gz
linux-f50c9d797d3df41e13265491c722d3d15b038d57.tar.bz2
linux-f50c9d797d3df41e13265491c722d3d15b038d57.zip
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 7dba30b5a3d8..0434980aa5e6 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);