From 2c944fa12dc731bf43532d99a2bfbe8c4b7186e5 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 19 Mar 2021 13:23:01 -0400 Subject: [PATCH] bcachefs: Add a print statement for when we go read-write Signed-off-by: Kent Overstreet Signed-off-by: Kent Overstreet --- fs/bcachefs/super.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 7c23cae436bb7..529d33f4a6d7b 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -400,6 +400,8 @@ static int __bch2_fs_read_write(struct bch_fs *c, bool early) (!early || c->opts.read_only))) return -EROFS; + bch_info(c, "going read-write"); + ret = bch2_fs_mark_dirty(c); if (ret) goto err; -- 2.39.5