diff options
| author | David Sterba <dsterba@suse.com> | 2020-02-05 17:12:28 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-28 15:38:49 +0100 |
| commit | fe56579206878514dba1f8deb5f559c16dfefeca (patch) | |
| tree | 6545b2e3b302842a10381cb5e1b866ebf2a1b539 /kernel/padata.c | |
| parent | 61ca8d798e1a2851f7bee72d688fdec2807746a1 (diff) | |
btrfs: log message when rw remount is attempted with unclean tree-log
commit 10a3a3edc5b89a8cd095bc63495fb1e0f42047d9 upstream.
A remount to a read-write filesystem is not safe when there's tree-log
to be replayed. Files that could be opened until now might be affected
by the changes in the tree-log.
A regular mount is needed to replay the log so the filesystem presents
the consistent view with the pending changes included.
CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions
