diff options
-rw-r--r-- | fs/bcachefs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index 9f852a6dd76a..2990eed85adf 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -1605,7 +1605,6 @@ int bch2_dev_add(struct bch_fs *c, const char *path) ca = __bch2_dev_alloc(c, &dev_mi); if (!ca) { - bch2_free_super(&sb); ret = -ENOMEM; goto err; } |