diff options
author | Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> | 2014-12-24 14:52:04 +0900 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-02 19:25:51 -0800 |
commit | eb710b152003ea74561512b3f55c1e3c71dcef39 (patch) | |
tree | 5dd01feb6f3a57b41932614872ea46a601a5cd4f /include | |
parent | b76808fc26a6ffab6ff0f85689d3051df9293af5 (diff) | |
download | op-kernel-dev-eb710b152003ea74561512b3f55c1e3c71dcef39.zip op-kernel-dev-eb710b152003ea74561512b3f55c1e3c71dcef39.tar.gz |
Btrfs: Remove unnecessary placeholder in btrfs_err_code
"notused" is not necessary. Set 1 to the first entry is enough.
Signed-off-by: Takeuchi Satoru <takeuchi_satoru@jp.fujitsu.com
Cc: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/btrfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
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, |