Commit af1c6871 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: add bch_verbose() statements for shutdown

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4077991c
......@@ -404,6 +404,8 @@ void bch2_fs_stop(struct bch_fs *c)
struct bch_dev *ca;
unsigned i;
bch_verbose(c, "shutting down");
for_each_member_device(ca, c, i)
if (ca->kobj.state_in_sysfs &&
ca->disk_sb.bdev)
......@@ -444,6 +446,8 @@ void bch2_fs_stop(struct bch_fs *c)
if (c->devs[i])
bch2_dev_free(rcu_dereference_protected(c->devs[i], 1));
bch_verbose(c, "shutdown complete");
kobject_put(&c->kobj);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment