> -     struct list_head splice;
>       struct btrfs_ordered_extent *ordered;

>       struct inode *inode;

Remove this too?

> +     /*
> +      * This will just short circuit the ordered completion stuff which will
> +      * make sure the ordered extent gets properly cleaned up.
> +      */
> +     list_for_each_entry(ordered, &root->fs_info->ordered_extents,
> +                         root_extent_list)
> +             set_bit(BTRFS_ORDERED_IOERR, &ordered->flags);
>       spin_unlock(&root->fs_info->ordered_extent_lock);
>  }

fs/btrfs/disk-io.c: In function ‘btrfs_destroy_ordered_extents’:
fs/btrfs/disk-io.c:3548:16: warning: unused variable ‘inode’ [-Wunused-variable]

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to