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
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t