]> git.hungrycats.org Git - linux/commit
Btrfs: make inode.c:compress_file_range() return void
authorFilipe Manana <fdmanana@suse.com>
Thu, 9 Oct 2014 20:15:44 +0000 (21:15 +0100)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:16:45 +0000 (08:16 -0500)
commit83cfc87821a3be54967c86b66e89fc211b0d6493
tree16f028ba9ec5138507767eca7c9f9b949fd83dfc
parent807c9c2fe1261896dede58d0d55fbdb416c4cdc5
Btrfs: make inode.c:compress_file_range() return void

Its return value is useless, its single caller ignores it and can't do
anything with it anyway, since it's a workqueue task and not the task
calling filemap_fdatawrite_range (writepages) nor filemap_fdatawait_range().
Failure is communicated to such functions via start and end of writeback
with the respective pages tagged with an error and AS_EIO flag set in the
inode's imapping.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit c44f649e281e93689827a206653696be9599a320)
fs/btrfs/inode.c