[PATCH] jfs: Delete a couple tabs in jfs_reconfigure()

Dan Carpenter posted 1 patch 1 month, 3 weeks ago
fs/jfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] jfs: Delete a couple tabs in jfs_reconfigure()
Posted by Dan Carpenter 1 month, 3 weeks ago
This is just a small white space cleanup.  The conversion to the new
mount api accidentally added an extra indent on these lines.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 fs/jfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 223d9ac59839..508666d4ed01 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -389,8 +389,8 @@ static int jfs_reconfigure(struct fs_context *fc)
 
 		if (!ctx->newLVSize) {
 			ctx->newLVSize = sb_bdev_nr_blocks(sb);
-				if (ctx->newLVSize == 0)
-					pr_err("JFS: Cannot determine volume size\n");
+			if (ctx->newLVSize == 0)
+				pr_err("JFS: Cannot determine volume size\n");
 		}
 
 		rc = jfs_extendfs(sb, ctx->newLVSize, 0);
-- 
2.45.2
Re: [PATCH] jfs: Delete a couple tabs in jfs_reconfigure()
Posted by Eric Sandeen 1 month, 3 weeks ago
On 10/2/24 3:37 AM, Dan Carpenter wrote:
> This is just a small white space cleanup.  The conversion to the new
> mount api accidentally added an extra indent on these lines.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>

Ugh, oops, thanks.

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  fs/jfs/super.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/jfs/super.c b/fs/jfs/super.c
> index 223d9ac59839..508666d4ed01 100644
> --- a/fs/jfs/super.c
> +++ b/fs/jfs/super.c
> @@ -389,8 +389,8 @@ static int jfs_reconfigure(struct fs_context *fc)
>  
>  		if (!ctx->newLVSize) {
>  			ctx->newLVSize = sb_bdev_nr_blocks(sb);
> -				if (ctx->newLVSize == 0)
> -					pr_err("JFS: Cannot determine volume size\n");
> +			if (ctx->newLVSize == 0)
> +				pr_err("JFS: Cannot determine volume size\n");
>  		}
>  
>  		rc = jfs_extendfs(sb, ctx->newLVSize, 0);