OSDN Git Service

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)
commitdec8f1756342c92fc31ba8bc7060b55dd62836a0
treefbe9f1ffbe92ec004cee9d9f346a8eb8928679ef
parent3d7a820f713a1a3339139ea8c86a98437ae0a2c1
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