2005-03-22 05:42:37

by NeilBrown

[permalink] [raw]
Subject: [PATCH kNFSd 16 of 16] 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 <[email protected]>
Signed-off-by: Neil Brown <[email protected]>

### Diffstat output
./fs/nfsd/nfs4proc.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)

diff ./fs/nfsd/nfs4proc.c~current~ ./fs/nfsd/nfs4proc.c
--- ./fs/nfsd/nfs4proc.c~current~ 2005-03-22 16:36:36.000000000 +1100
+++ ./fs/nfsd/nfs4proc.c 2005-03-22 16:36:36.000000000 +1100
@@ -199,23 +199,23 @@ nfsd4_open(struct svc_rqst *rqstp, struc
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;


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs