]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing_loop.h: fix LOOP_SET_STATUS_SETTABLE_FLAGS 33052/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 28 May 2024 03:26:21 +0000 (12:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 28 May 2024 03:27:04 +0000 (12:27 +0900)
See https://github.com/torvalds/linux/blob/v6.10-rc1/include/uapi/linux/loop.h

Fixes a bug in b3fe33ff52ece458a5b990a4a68d59aef7cae10b.

src/basic/missing_loop.h

index 8a62155a5dbef79b7866a8dd890319c9b6462124..b88501d78b3441d06f6be67018097eb7fa57f889 100644 (file)
@@ -27,5 +27,5 @@ assert_cc(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)
+#  define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
 #endif