aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2005-03-30 17:01:50 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-30 17:01:50 -0800
commitf937b476f5353acc37be22a2f59c7b0f2fc77c8e (patch)
treed4f749c077ef7e9112af3db45d5aa9b7f263ccb2
parent0de0fd94cd8636a6fa6cdc73b4853a63744820eb (diff)
downloadhistory-f937b476f5353acc37be22a2f59c7b0f2fc77c8e.tar.gz
[PATCH] nfsd4: fix indentation in nfsd4_open
OK, so it's trivial, but these misaligned comments have been bugging me forever.... Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/nfsd/nfs4proc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 20af74b842a73f..e8158741e8b5c0 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -199,23 +199,23 @@ nfsd4_open(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open
goto out;
switch (open->op_claim_type) {
case NFS4_OPEN_CLAIM_NULL:
- /*
- * This block of code will (1) set CURRENT_FH to the file being opened,
- * creating it if necessary, (2) set open->op_cinfo,
- * (3) set open->op_truncate if the file is to be truncated
- * after opening, (4) do permission checking.
- */
+ /*
+ * (1) set CURRENT_FH to the file being opened,
+ * creating it if necessary, (2) set open->op_cinfo,
+ * (3) set open->op_truncate if the file is to be
+ * truncated after opening, (4) do permission checking.
+ */
status = do_open_lookup(rqstp, current_fh, open);
if (status)
goto out;
break;
case NFS4_OPEN_CLAIM_PREVIOUS:
- /*
- * The CURRENT_FH is already set to the file being opened. This
- * block of code will (1) set open->op_cinfo, (2) set
- * open->op_truncate if the file is to be truncated after opening,
- * (3) do permission checking.
- */
+ /*
+ * The CURRENT_FH is already set to the file being
+ * opened. (1) set open->op_cinfo, (2) set
+ * open->op_truncate if the file is to be truncated
+ * after opening, (3) do permission checking.
+ */
status = do_open_fhandle(rqstp, current_fh, open);
if (status)
goto out;