On Monday 16 of April 2012 07:44:37 Sergei Trofimovich wrote:
> From: Sergei Trofimovich <sly...@gentoo.org>
> 
> Cc: Jeff Mahoney <je...@suse.com>
> Cc: Chris Mason <chris.ma...@oracle.com>
> Cc: Josef Bacik <jo...@redhat.com>
> Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
> ---
>  fs/btrfs/super.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
> index 8d5d380..2f28fc0 100644
> --- a/fs/btrfs/super.c
> +++ b/fs/btrfs/super.c
> @@ -1148,13 +1148,15 @@ static int btrfs_remount(struct super_block *sb, int 
> *flags, char *data)
>               if (ret)
>                       goto restore;
>       } else {
> -             if (fs_info->fs_devices->rw_devices == 0)
> +             if (fs_info->fs_devices->rw_devices == 0) {
>                       ret = -EACCES;
>                       goto restore;
> +             }
>  
> -             if (btrfs_super_log_root(fs_info->super_copy) != 0)
> +             if (btrfs_super_log_root(fs_info->super_copy) != 0) {
>                       ret = -EINVAL;
>                       goto restore;
> +             }
>  
>               ret = btrfs_cleanup_fs_roots(fs_info);
>               if (ret)
> -- 

Patch is correct

Reviewed-by: Sergey V. <sftp.mt...@gmail.com>

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to