diff options
author | Jens Axboe | 2016-11-22 21:09:50 +0100 |
---|---|---|
committer | Jens Axboe | 2016-11-22 21:11:55 +0100 |
commit | 63db89eaf0b9bf856c5e079ed5eab5c3f13165c8 (patch) | |
tree | 42a03f5b9c1f6c1e23d446f7c83c0cc90a671ebd /include/uapi/linux/nbd.h | |
parent | nbd: add multi-connection support (diff) | |
download | kernel-qcow2-linux-63db89eaf0b9bf856c5e079ed5eab5c3f13165c8.tar.gz kernel-qcow2-linux-63db89eaf0b9bf856c5e079ed5eab5c3f13165c8.tar.xz kernel-qcow2-linux-63db89eaf0b9bf856c5e079ed5eab5c3f13165c8.zip |
nbd: move multi-connection bit to unused value
Bit #7 is already used, move to bit #8 which is the first unused
one.
Fixes: 9561a7ade0c2 ("nbd: add multi-connection support")
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/uapi/linux/nbd.h')
-rw-r--r-- | include/uapi/linux/nbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/nbd.h b/include/uapi/linux/nbd.h index f063cff178c5..c91c642ea900 100644 --- a/include/uapi/linux/nbd.h +++ b/include/uapi/linux/nbd.h @@ -43,7 +43,7 @@ enum { #define NBD_FLAG_SEND_FLUSH (1 << 2) /* can flush writeback cache */ /* there is a gap here to match userspace */ #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ -#define NBD_FLAG_CAN_MULTI_CONN (1 << 7) /* Server supports multiple connections per export. */ +#define NBD_FLAG_CAN_MULTI_CONN (1 << 8) /* Server supports multiple connections per export. */ /* userspace doesn't need the nbd_device structure */ |