mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
basic/missing_loop.h: fix missing lo_flags LO_FLAGS_DIRECT_IO
This commit is contained in:
committed by
Luca Boccassi
parent
90235a3df2
commit
b3fe33ff52
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user