diff options
author | 2023-06-08 13:02:56 +0200 | |
---|---|---|
committer | 2023-06-12 08:04:05 -0600 | |
commit | 4e762d8623448bb9d32711832ce977a65ff7636a (patch) | |
tree | c5aa5b848d7f74731566bd8b1a9dd5a6e631a088 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: replace fmode_t with a block-specific type for block open flags (diff) | |
download | wireguard-linux-4e762d8623448bb9d32711832ce977a65ff7636a.tar.xz wireguard-linux-4e762d8623448bb9d32711832ce977a65ff7636a.zip |
block: always use I_BDEV on file->f_mapping->host to find the bdev
Always use I_BDEV(file->f_mapping->host) to find the bdev for a file to
free up file->private_data for other uses.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230608110258.189493-29-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions