diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-08 13:02:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-12 16:04:05 +0200 |
commit | ee3249a8ce78ef014a71b05157a43fba8dc764e3 (patch) | |
tree | b7abc4d3984baa442590cb06c8df8ae94f5ccdf0 /block/blk-cgroup-rwstat.c | |
parent | block: always use I_BDEV on file->f_mapping->host to find the bdev (diff) | |
download | linux-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