Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion not-script/not-script.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int setup_loop(int ctrl_fd, uint32_t fd, bool writable, bool autoclear) {
.fd = fd,
.block_size = 512, /* FIXME! */
.info = {
.lo_flags = LO_FLAGS_DIRECT_IO | (autoclear ? LO_FLAGS_AUTOCLEAR : 0) | (writable ? 0 : LO_FLAGS_READ_ONLY),
.lo_flags = (autoclear ? LO_FLAGS_AUTOCLEAR : 0) | (writable ? 0 : LO_FLAGS_READ_ONLY),
},
};

Expand Down