Bit #7 is already used, move to bit #8 which is the first unused one.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -43,7 +43,7 @@ enum { · 42 unmodified lines | |||
| 43 | #define NBD_FLAG_SEND_FLUSH (1 << 2) /* can flush writeback cache */ | 43 | #define NBD_FLAG_SEND_FLUSH (1 << 2) /* can flush writeback cache */ |
| 44 | /* there is a gap here to match userspace */ | 44 | /* there is a gap here to match userspace */ |
| 45 | #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ | 45 | #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. */ |
| 47 | 47 | ||
| 48 | /* userspace doesn't need the nbd_device structure */ | 48 | /* userspace doesn't need the nbd_device structure */ |
| 49 | 49 | ||