History

nbd: move multi-connection bit to unused value

Bit #7 is already used, move to bit #8 which is the first unused one.

Jens Axboe committed 9 years ago

Commit 63db89e1 parent 9561a7a1 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/nbd.h+1−1
@@ -43,7 +43,7 @@ enum { · 42 unmodified lines
4343 #define NBD_FLAG_SEND_FLUSH (1 << 2) /* can flush writeback cache */
4444 /* there is a gap here to match userspace */
4545 #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */
46−#define NBD_FLAG_CAN_MULTI_CONN (1 << 7) /* Server supports multiple connections per export. */
46+#define NBD_FLAG_CAN_MULTI_CONN (1 << 8) /* Server supports multiple connections per export. */
4747
4848 /* userspace doesn't need the nbd_device structure */
4949