diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-10 10:37:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-10 17:31:50 +0300 |
commit | ae074d07a0e5c05769f1a9a2faa260c36d69465e (patch) | |
tree | a92f814fe59b99f29b8f36a028b3b6685dac097a /tools/perf/scripts/python/gecko.py | |
parent | b03732a9c0db91522914185739505d92d3b0d816 (diff) | |
download | linux-ae074d07a0e5c05769f1a9a2faa260c36d69465e.tar.xz |
loop: move updating lo_flags out of loop_set_status_from_info
While loop_configure simplify assigns the flags passed in by userspace,
loop_set_status only looks at the two changeable flags, and currently
has to do a complicate dance to implement that.
Move assign lo->lo_flags out of loop_set_status_from_info into the
callers and thus drastically simplify the lo_flags handling in
loop_set_status.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250110073750.1582447-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions