Loading fs/btrfs/disk-io.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -2821,8 +2821,6 @@ int open_ctree(struct super_block *sb, location.offset = (u64)-1; location.offset = (u64)-1; fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); if (!fs_info->fs_root) goto fail_qgroup; if (IS_ERR(fs_info->fs_root)) { if (IS_ERR(fs_info->fs_root)) { err = PTR_ERR(fs_info->fs_root); err = PTR_ERR(fs_info->fs_root); goto fail_qgroup; goto fail_qgroup; Loading fs/btrfs/send.c +2 −6 Original line number Original line Diff line number Diff line Loading @@ -4654,10 +4654,6 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) key.type = BTRFS_ROOT_ITEM_KEY; key.type = BTRFS_ROOT_ITEM_KEY; key.offset = (u64)-1; key.offset = (u64)-1; clone_root = btrfs_read_fs_root_no_name(fs_info, &key); clone_root = btrfs_read_fs_root_no_name(fs_info, &key); if (!clone_root) { ret = -EINVAL; goto out; } if (IS_ERR(clone_root)) { if (IS_ERR(clone_root)) { ret = PTR_ERR(clone_root); ret = PTR_ERR(clone_root); goto out; goto out; Loading @@ -4673,8 +4669,8 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) key.type = BTRFS_ROOT_ITEM_KEY; key.type = BTRFS_ROOT_ITEM_KEY; key.offset = (u64)-1; key.offset = (u64)-1; sctx->parent_root = btrfs_read_fs_root_no_name(fs_info, &key); sctx->parent_root = btrfs_read_fs_root_no_name(fs_info, &key); if (!sctx->parent_root) { if (IS_ERR(sctx->parent_root)) { ret = -EINVAL; ret = PTR_ERR(sctx->parent_root); goto out; goto out; } } } } Loading Loading
fs/btrfs/disk-io.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -2821,8 +2821,6 @@ int open_ctree(struct super_block *sb, location.offset = (u64)-1; location.offset = (u64)-1; fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); if (!fs_info->fs_root) goto fail_qgroup; if (IS_ERR(fs_info->fs_root)) { if (IS_ERR(fs_info->fs_root)) { err = PTR_ERR(fs_info->fs_root); err = PTR_ERR(fs_info->fs_root); goto fail_qgroup; goto fail_qgroup; Loading
fs/btrfs/send.c +2 −6 Original line number Original line Diff line number Diff line Loading @@ -4654,10 +4654,6 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) key.type = BTRFS_ROOT_ITEM_KEY; key.type = BTRFS_ROOT_ITEM_KEY; key.offset = (u64)-1; key.offset = (u64)-1; clone_root = btrfs_read_fs_root_no_name(fs_info, &key); clone_root = btrfs_read_fs_root_no_name(fs_info, &key); if (!clone_root) { ret = -EINVAL; goto out; } if (IS_ERR(clone_root)) { if (IS_ERR(clone_root)) { ret = PTR_ERR(clone_root); ret = PTR_ERR(clone_root); goto out; goto out; Loading @@ -4673,8 +4669,8 @@ long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) key.type = BTRFS_ROOT_ITEM_KEY; key.type = BTRFS_ROOT_ITEM_KEY; key.offset = (u64)-1; key.offset = (u64)-1; sctx->parent_root = btrfs_read_fs_root_no_name(fs_info, &key); sctx->parent_root = btrfs_read_fs_root_no_name(fs_info, &key); if (!sctx->parent_root) { if (IS_ERR(sctx->parent_root)) { ret = -EINVAL; ret = PTR_ERR(sctx->parent_root); goto out; goto out; } } } } Loading