From: Yu Watanabe Date: Tue, 28 May 2024 03:26:21 +0000 (+0900) Subject: missing_loop.h: fix LOOP_SET_STATUS_SETTABLE_FLAGS X-Git-Tag: v256-rc4~106^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb6d3a5917f5c92c2d4706217aa5a77a7d6dccb7;p=thirdparty%2Fsystemd.git missing_loop.h: fix LOOP_SET_STATUS_SETTABLE_FLAGS See https://github.com/torvalds/linux/blob/v6.10-rc1/include/uapi/linux/loop.h Fixes a bug in b3fe33ff52ece458a5b990a4a68d59aef7cae10b. --- diff --git a/src/basic/missing_loop.h b/src/basic/missing_loop.h index 8a62155a5db..b88501d78b3 100644 --- a/src/basic/missing_loop.h +++ b/src/basic/missing_loop.h @@ -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