mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-17 21:45:36 +03:00
basic/missing_loop.h: fix missing lo_flags LO_FLAGS_DIRECT_IO
(cherry picked from commit b3fe33ff52
)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e7e63274fb
commit
2ced9167eb
@@ -14,6 +14,11 @@ struct loop_config {
|
|||||||
#define LOOP_CONFIGURE 0x4C0A
|
#define LOOP_CONFIGURE 0x4C0A
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
|
#ifndef LO_FLAGS_DIRECT_IO
|
||||||
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
|
#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
|
#endif
|
||||||
|
Reference in New Issue
Block a user