Message ID | 549A5484.9000202@jp.fujitsu.com (mailing list archive) |
---|---|
State | Under Review |
Headers | show |
On Wed, Dec 24, 2014 at 02:52:04PM +0900, Satoru Takeuchi wrote: > I once submit the similar patch to btrfs-progs. > Then Gui Hecheng tell me fixing original code in kernel > is better. The kernel header is exported and the authoritative source for the ioctl definitions, progs usually copy the required portions but should be identical in the end. Reviewed-by: David Sterba <dsterba@suse.cz> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index 611e1c5..b6dec05 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h @@ -495,8 +495,7 @@ struct btrfs_ioctl_send_args { /* Error codes as returned by the kernel */ enum btrfs_err_code { - notused, - BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET, + BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1, BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET, BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET, BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET,