]> asedeno.scripts.mit.edu Git - linux.git/commit
btrfs: simplify compressed/inline check in __extent_writepage_io()
authorOmar Sandoval <osandov@fb.com>
Tue, 3 Dec 2019 01:34:24 +0000 (17:34 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 20 Jan 2020 15:40:55 +0000 (16:40 +0100)
commitc8b04030c5ec006e161969d77c07fb03a8b67112
treee9de7952ac041667c78d527ec5676d5a0f0be0f2
parent39b07b5d7072f8e9fd8cc2f840d3749f86699bbb
btrfs: simplify compressed/inline check in __extent_writepage_io()

Commit 7087a9d8db88 ("btrfs: Remove
extent_io_ops::writepage_end_io_hook") left this logic in a confusing
state. Simplify it.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c