Skip to content

Commit

Permalink
missing_loop.h: fix LOOP_SET_STATUS_SETTABLE_FLAGS
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yuwata authored and bluca committed Jun 25, 2024
1 parent 57a5e83 commit 5e532c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/missing_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5e532c9

Please sign in to comment.