nfsd: Fix some indent inconsistancy
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 2 Jul 2016 06:24:32 +0000 (08:24 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Jul 2016 19:53:41 +0000 (15:53 -0400)
Silent a few smatch warnings about indentation

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfsfh.c
fs/nfsd/nfsxdr.c

index ebfcebd..bc2173a 100644 (file)
@@ -3130,7 +3130,7 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp, struct nfsd4_compound_state *csta
                 * We don't take advantage of the rca_one_fs case.
                 * That's OK, it's optional, we can safely ignore it.
                 */
                 * We don't take advantage of the rca_one_fs case.
                 * That's OK, it's optional, we can safely ignore it.
                 */
-                return nfs_ok;
+               return nfs_ok;
        }
 
        status = nfserr_complete_already;
        }
 
        status = nfserr_complete_already;
index 7e49dcb..27250e2 100644 (file)
@@ -533,7 +533,7 @@ fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry,
         * the reference filehandle (if it is in the same export)
         * or the export options.
         */
         * the reference filehandle (if it is in the same export)
         * or the export options.
         */
-        set_version_and_fsid_type(fhp, exp, ref_fh);
+       set_version_and_fsid_type(fhp, exp, ref_fh);
 
        if (ref_fh == fhp)
                fh_put(ref_fh);
 
        if (ref_fh == fhp)
                fh_put(ref_fh);
index 79d964a..41b468a 100644 (file)
@@ -240,7 +240,7 @@ nfssvc_decode_diropargs(struct svc_rqst *rqstp, __be32 *p,
         || !(p = decode_filename(p, &args->name, &args->len)))
                return 0;
 
         || !(p = decode_filename(p, &args->name, &args->len)))
                return 0;
 
-        return xdr_argsize_check(rqstp, p);
+       return xdr_argsize_check(rqstp, p);
 }
 
 int
 }
 
 int