All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	David Sterba <dsterba@suse.cz>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: open-code remount flag setting in btrfs_remount
Date: Thu, 30 Jul 2020 13:07:57 +0800	[thread overview]
Message-ID: <83fd1439-1322-ba84-8eb9-9309f95ab6d5@oracle.com> (raw)
In-Reply-To: <20200722090039.17402-1-johannes.thumshirn@wdc.com>


> -static inline void btrfs_remount_prepare(struct btrfs_fs_info *fs_info)
> -{
> -	set_bit(BTRFS_FS_STATE_REMOUNTING, &fs_info->fs_state);
> -}
> -
>   static inline void btrfs_remount_begin(struct btrfs_fs_info *fs_info,
>   				       unsigned long old_opts, int flags)
>   {
> @@ -1837,7 +1832,7 @@ static int btrfs_remount(struct super_block *sb, int *flags, char *data)
>   	int ret;
>   
>   	sync_filesystem(sb);
> -	btrfs_remount_prepare(fs_info);
> +	set_bit(BTRFS_FS_STATE_REMOUNTING, &fs_info->fs_state);
>   

  Reviewed-by: Anand Jain <anand.jain@oracle.com>


      parent reply	other threads:[~2020-07-30  5:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22  9:00 [PATCH] btrfs: open-code remount flag setting in btrfs_remount Johannes Thumshirn
2020-07-22 14:15 ` David Sterba
2020-07-30  5:07 ` Anand Jain [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fd1439-1322-ba84-8eb9-9309f95ab6d5@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=dsterba@suse.cz \
    --cc=johannes.thumshirn@wdc.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.