blkdev_write_iter(): saner way to get inode and bdev
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Apr 2024 14:53:40 +0000 (15:53 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 May 2024 06:35:57 +0000 (02:35 -0400)
commit39c3b4e7d0a0d8876f29ea078b978b3caa924542
tree97765e3cc03ce9a5e81384a7159d46147c524954
parent9baf50dfff1c55e704cae74c5f1c65f0fe254f1e
blkdev_write_iter(): saner way to get inode and bdev

... same as in other methods - bdev_file_inode() and I_BDEV() of that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20240411145346.2516848-5-viro@zeniv.linux.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
block/fops.c