diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-03-05 20:47:27 +0000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-03-06 09:26:06 +0100 |
commit | 144fa8ae0830280a1d9b53e80f55b8c51260a4ab (patch) | |
tree | 8623d3cf840f59377fa78cb1d757605a39e87f4e /tools/perf/scripts/python/task-analyzer.py | |
parent | 50fb0a7f43c0ada5414a6d3e3f49e2109693c06c (diff) |
orangefs: make open_for_read and open_for_write boolean
sparse currently warns:
fs/orangefs/file.c:119:32: warning: incorrect type in assignment (different base types)
fs/orangefs/file.c:119:32: expected int open_for_write
fs/orangefs/file.c:119:32: got restricted fmode_t
Turning open_for_write and open_for_read into booleans (which is how
they're used) removes this warning.
Signed-off-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Link: https://lore.kernel.org/r/20250305204734.1475264-4-willy@infradead.org
Tested-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions