Skip to content

Commit 5e532c9

Browse files
yuwatabluca
authored andcommitted
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 b3fe33f. (cherry picked from commit eb6d3a5) (cherry picked from commit b097677) (cherry picked from commit f224a9d) (cherry picked from commit dad62c7)
1 parent 57a5e83 commit 5e532c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/basic/missing_loop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ struct loop_config {
2020
#endif
2121

2222
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
23-
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN | LO_FLAGS_DIRECT_IO)
23+
#define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
2424
#endif

0 commit comments

Comments
 (0)