]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove extent_io_ops::fill_delalloc
authorNikolay Borisov <nborisov@suse.com>
Thu, 1 Nov 2018 12:09:46 +0000 (14:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:27 +0000 (14:51 +0100)
commit8d9c439bd5868322efca7c4b06f7f3a0af543438
tree904aa5357a122144f3bad4948157298f520c94e4
parent0cf13b7f553ef7a8bccd8ea3f078aadf13c06bb3
btrfs: Remove extent_io_ops::fill_delalloc

This callback is called only from writepage_delalloc which in turn is
guaranteed to be called from the data page writeout path. In the end
there is no reason to have the call to this function to be indrected via
the extent_io_ops structure. This patch removes the callback definition,
exports the function and calls it directly. No functional changes.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ rename to btrfs_run_delalloc_range ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c