"notused" is not necessary. Set 1 to the first entry is enough.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -495,8 +495,7 @@ struct btrfs_ioctl_send_args { · 494 unmodified lines | ||
| 495 | 495 | |
| 496 | 496 | /* Error codes as returned by the kernel */ |
| 497 | 497 | enum btrfs_err_code { |
| 498 | − notused, | |
| 499 | − BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET, | |
| 498 | + BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1, | |
| 500 | 499 | BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET, |
| 501 | 500 | BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET, |
| 502 | 501 | BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET, |