Loading fs/bcachefs/chardev.c +6 −3 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ static long bch2_ioctl_fsck_offline(struct bch_ioctl_fsck_offline __user *user_a ret = PTR_ERR_OR_ZERO(optstr) ?: bch2_parse_mount_opts(NULL, &thr->opts, optstr); if (!IS_ERR(optstr)) kfree(optstr); if (ret) Loading Loading @@ -319,6 +320,7 @@ static long bch2_ioctl_disk_add(struct bch_fs *c, struct bch_ioctl_disk arg) return ret; ret = bch2_dev_add(c, path); if (!IS_ERR(path)) kfree(path); return ret; Loading Loading @@ -850,6 +852,7 @@ static long bch2_ioctl_fsck_online(struct bch_fs *c, ret = PTR_ERR_OR_ZERO(optstr) ?: bch2_parse_mount_opts(c, &thr->opts, optstr); if (!IS_ERR(optstr)) kfree(optstr); if (ret) Loading Loading
fs/bcachefs/chardev.c +6 −3 Original line number Diff line number Diff line Loading @@ -216,6 +216,7 @@ static long bch2_ioctl_fsck_offline(struct bch_ioctl_fsck_offline __user *user_a ret = PTR_ERR_OR_ZERO(optstr) ?: bch2_parse_mount_opts(NULL, &thr->opts, optstr); if (!IS_ERR(optstr)) kfree(optstr); if (ret) Loading Loading @@ -319,6 +320,7 @@ static long bch2_ioctl_disk_add(struct bch_fs *c, struct bch_ioctl_disk arg) return ret; ret = bch2_dev_add(c, path); if (!IS_ERR(path)) kfree(path); return ret; Loading Loading @@ -850,6 +852,7 @@ static long bch2_ioctl_fsck_online(struct bch_fs *c, ret = PTR_ERR_OR_ZERO(optstr) ?: bch2_parse_mount_opts(c, &thr->opts, optstr); if (!IS_ERR(optstr)) kfree(optstr); if (ret) Loading