diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2024-04-11 15:53:46 +0100 | 
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-03 02:36:21 -0400 | 
| commit | c9600c63a694249100e2bdcbb604c30d8fee2dc7 (patch) | |
| tree | 8548a92f890b53042aa18b7c95d1aec783b1725a /rust/helpers.c | |
| parent | dc0fdfc855bea671ee503f9c706303367bdda946 (diff) | |
block2mtd: prevent direct access of bd_inode
All we need is size, and that can be obtained via bdev_nr_bytes()
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20240411145346.2516848-11-viro@zeniv.linux.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
