]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bcachefs: Add a print statement for when we go read-write
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 19 Mar 2021 17:23:01 +0000 (13:23 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:56 +0000 (17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super.c

index 7c23cae436bb7feb9465317505c8e0302f0ab19c..529d33f4a6d7bcd33d701a90ea3221b53265a897 100644 (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;