From f224a9d5819c297850c7e46735a770cdd0be09b6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 28 May 2024 12:26:21 +0900 Subject: [PATCH] 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. (cherry picked from commit eb6d3a5917f5c92c2d4706217aa5a77a7d6dccb7) (cherry picked from commit b097677ec0bdae17ae3f5eec62313934daf73385) --- src/basic/missing_loop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/missing_loop.h b/src/basic/missing_loop.h index 7141544b64f..24b3e0def9f 100644 --- a/src/basic/missing_loop.h +++ b/src/basic/missing_loop.h @@ -20,5 +20,5 @@ struct loop_config { #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