]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add a btrfs_dio_rw wrapper
authorChristoph Hellwig <hch@lst.de>
Thu, 5 May 2022 20:11:09 +0000 (15:11 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:17:32 +0000 (17:17 +0200)
commit043a58a28cc528717778ce6617f1b15d9d1f1578
treeee1c9815f3f74e681a35d0c2db0b4273beecf4b3
parent959236c543574ccb17b061c170a32876098acdb9
btrfs: add a btrfs_dio_rw wrapper

Add a wrapper around iomap_dio_rw that keeps the direct I/O internals
isolated in inode.c.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c