]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: extent_io: Kill dead condition in extent_write_cache_pages()
authorQu Wenruo <wqu@suse.com>
Wed, 20 Mar 2019 06:27:44 +0000 (14:27 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:23 +0000 (19:02 +0200)
commite06808be8a5296c09be84b3aaf63087b5737ba16
treef9a217bee81aaf845497984b1a5b752809fde627
parent2b952eea813b1f7e7d4b9782271acd91625b9bb9
btrfs: extent_io: Kill dead condition in extent_write_cache_pages()

Since __extent_writepage() will no longer return >0 value,
(ret == AOP_WRITEPAGE_ACTIVATE) will never be true.

Kill that dead branch.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c