bcachefs: Add a print statement for when we go read-write

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet
2021-03-19 13:23:01 -04:00
committed by Kent Overstreet
parent f2eaea2fc1
commit 2c944fa12d

View File

@@ -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;