Re: [PATCH] Btrfs: fix how we discard outstanding ordered extents on abort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -	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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux