diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/nbd.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/nbd.h')
| -rw-r--r-- | include/arch/x86_64/linux/nbd.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/arch/x86_64/linux/nbd.h b/include/arch/x86_64/linux/nbd.h index c339b184..17928322 100644 --- a/include/arch/x86_64/linux/nbd.h +++ b/include/arch/x86_64/linux/nbd.h @@ -56,13 +56,11 @@ enum { #define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ #define NBD_FLAG_SEND_WRITE_ZEROES (1 << 6) /* supports WRITE_ZEROES */ /* there is a gap here to match userspace */ -#define NBD_FLAG_CAN_MULTI_CONN \ - (1 << 8) /* Server supports multiple connections per export. */ +#define NBD_FLAG_CAN_MULTI_CONN (1 << 8) /* Server supports multiple connections per export. */ /* values for cmd flags in the upper 16 bits of request type */ -#define NBD_CMD_FLAG_FUA (1 << 16) /* FUA (forced unit access) op */ -#define NBD_CMD_FLAG_NO_HOLE \ - (1 << 17) /* Do not punch a hole for WRITE_ZEROES */ +#define NBD_CMD_FLAG_FUA (1 << 16) /* FUA (forced unit access) op */ +#define NBD_CMD_FLAG_NO_HOLE (1 << 17) /* Do not punch a hole for WRITE_ZEROES */ /* These are client behavior specific flags. */ #define NBD_CFLAG_DESTROY_ON_DISCONNECT \ |
