]> git.baikalelectronics.ru Git - kernel.git/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)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 01:14:27 +0000 (17:14 -0800)
commit68e99b6c096d15c5482ca5c8b39164e0b6641a5c
tree76b30f36b535f504a40f8f87451dc9456f01ef9d
parent5d5e95eab496e0f52e696e2779148ed7dec0510e
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>
fs/btrfs/inode.c