diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-17 09:24:49 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:13 -0400 |
commit | 19b505a93434500469d9e2726967f28685f777a3 (patch) | |
tree | 8d9d509922baa65105fce2566e93e40b2bf8f391 /fs | |
parent | 8095708fce72a911e20799078639e95c1a008176 (diff) |
bcachefs: Fix duplicate ioctl nr
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/bcachefs_ioctl.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/bcachefs/bcachefs_ioctl.h b/fs/bcachefs/bcachefs_ioctl.h index 2dca4bb0362b..8c0599618404 100644 --- a/fs/bcachefs/bcachefs_ioctl.h +++ b/fs/bcachefs/bcachefs_ioctl.h @@ -71,7 +71,11 @@ struct bch_ioctl_incremental { #define BCH_IOCTL_USAGE _IOWR(0xbc, 11, struct bch_ioctl_usage) #define BCH_IOCTL_READ_SUPER _IOW(0xbc, 12, struct bch_ioctl_read_super) #define BCH_IOCTL_DISK_GET_IDX _IOW(0xbc, 13, struct bch_ioctl_disk_get_idx) -#define BCH_IOCTL_DISK_RESIZE _IOW(0xbc, 13, struct bch_ioctl_disk_resize) +#define BCH_IOCTL_DISK_RESIZE _IOW(0xbc, 14, struct bch_ioctl_disk_resize) + +/* ioctl below act on a particular file, not the filesystem as a whole: */ + +#define BCHFS_IOC_REINHERIT_ATTRS _IOR(0xbc, 64, const char __user *) /* * BCH_IOCTL_QUERY_UUID: get filesystem UUID @@ -307,6 +311,4 @@ struct bch_ioctl_disk_resize { __u64 nbuckets; }; -#define BCHFS_IOC_REINHERIT_ATTRS _IOR(0xbc, 14, const char __user *) - #endif /* _BCACHEFS_IOCTL_H */ |