Commit 0f1f7324 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Log mount failure error code

parent 8ed58789
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2032,6 +2032,8 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type,
	__bch2_fs_stop(c);
	deactivate_locked_super(sb);
err:
	if (ret)
		pr_err("error: %s", bch2_err_str(ret));
	/*
	 * On an inconsistency error in recovery we might see an -EROFS derived
	 * errorcode (from the journal), but we don't want to return that to