summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup-rwstat.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-08 13:02:57 +0200
committerJens Axboe <axboe@kernel.dk>2023-06-12 16:04:05 +0200
commitee3249a8ce78ef014a71b05157a43fba8dc764e3 (patch)
treeb7abc4d3984baa442590cb06c8df8ae94f5ccdf0 /block/blk-cgroup-rwstat.c
parentblock: always use I_BDEV on file->f_mapping->host to find the bdev (diff)
downloadlinux-ee3249a8ce78ef014a71b05157a43fba8dc764e3.tar.xz
linux-ee3249a8ce78ef014a71b05157a43fba8dc764e3.zip
block: store the holder in file->private_data
Store the file struct used as the holder in file->private_data as an indicator that this file descriptor was opened exclusively to remove the last use of FMODE_EXCL. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20230608110258.189493-30-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup-rwstat.c')
0 files changed, 0 insertions, 0 deletions