diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 13:02:44 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-12 08:04:04 -0600 |
| commit | 3f0b3e785e8b54a40c530fa77b7ab37bec925c57 (patch) | |
| tree | 94db68e2f6bd9e2f9270bbdd2481c8f43f64a8f1 /tools/perf/scripts/python/gecko.py | |
| parent | 2736e8eeb0ccdc71d1f4256c9c9a28f58cc43307 (diff) | |
block: add a sb_open_mode helper
Add a helper to return the open flags for blkdev_get_by* for passed in
super block flags instead of open coding the logic in many places.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions