summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-03 17:12:53 +0100
committerJ. Bruce Fields <bfields@redhat.com>2018-11-29 00:36:03 +0100
commitf50c9d797d3df41e13265491c722d3d15b038d57 (patch)
tree1d88e8d870333a1f00e167eb48368b1f16891fa6 /fs/nfsd/nfs4state.c
parentsvcrdma: Optimize the logic that selects the R_key to invalidate (diff)
downloadlinux-f50c9d797d3df41e13265491c722d3d15b038d57.tar.xz
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/nfs4state.c')
-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);