Re: [PATCH v2 1/6] Btrfs: lock superblock before remounting for rw subvol

2015-05-11 Thread David Sterba
On Thu, Apr 09, 2015 at 02:34:51PM -0700, Omar Sandoval wrote: > Since commit 0723a0473fb4 ("btrfs: allow mounting btrfs subvolumes with > different ro/rw options"), when mounting a subvolume read/write when > another subvolume has previously been mounted read-only, we first do a > remount. However

[PATCH v2 1/6] Btrfs: lock superblock before remounting for rw subvol

2015-04-09 Thread Omar Sandoval
Since commit 0723a0473fb4 ("btrfs: allow mounting btrfs subvolumes with different ro/rw options"), when mounting a subvolume read/write when another subvolume has previously been mounted read-only, we first do a remount. However, this should be done with the superblock locked, as per sync_filesyste