]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: make inode.c:submit_compressed_extents() return void
authorFilipe Manana <fdmanana@suse.com>
Mon, 6 Oct 2014 21:14:26 +0000 (22:14 +0100)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 01:14:26 +0000 (17:14 -0800)
commit6134e0098f20fa35bc750c3a5e082e67cb21fb41
treefbe9f1ffbe92ec004cee9d9f346a8eb8928679ef
parent6461666ddd8c5511a45d6d111730b6268ffdc834
Btrfs: make inode.c:submit_compressed_extents() return void

Its return value is completely ignored by its single caller and it's
useless anyway, since errors are indicated through SetPageError and
the bit AS_EIO set in the flags of the inode's mapping. The caller
can't do anything with the value, as it's invoked from a workqueue
task and not by the task calling filemap_fdatawrite_range (which calls
the writepages address space callback, which in turn calls the inode's
fill_delalloc callback).

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c