mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
basic/missing_loop.h: fix missing lo_flags LO_FLAGS_DIRECT_IO
(cherry picked from commit b3fe33ff52ece458a5b990a4a68d59aef7cae10b)
This commit is contained in:
parent
e7e63274fb
commit
2ced9167eb
@ -14,6 +14,11 @@ struct loop_config {
|
||||
#define LOOP_CONFIGURE 0x4C0A
|
||||
#endif
|
||||
|
||||
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
|
||||
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
|
||||
#ifndef LO_FLAGS_DIRECT_IO
|
||||
#define LO_FLAGS_DIRECT_IO 16
|
||||
#define LOOP_SET_DIRECT_IO 0x4C08
|
||||
#endif
|
||||
|
||||
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
|
||||
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN | LO_FLAGS_DIRECT_IO)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user