loop-util: enable LO_FLAGS_DIRECT_IO by default on loopback devices
Fixes: #21003
This commit is contained in:
@@ -18,3 +18,7 @@ struct loop_config {
|
||||
#ifndef BLKGETDISKSEQ
|
||||
#define BLKGETDISKSEQ _IOR(0x12,128,__u64)
|
||||
#endif
|
||||
|
||||
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
|
||||
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user