]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Make flush_space return void
authorNikolay Borisov <nborisov@suse.com>
Tue, 25 Jul 2017 14:48:28 +0000 (17:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:04 +0000 (16:12 +0200)
commit28e78f728c0ff8020641b7b4ca21323f0031390c
treee76b5fb829ef07acfaeeb7f22869a61efe79d7c5
parent8feb7c4c93630b2d58b36d1141eb38fd314f5a3a
btrfs: Make flush_space return void

The return value of flush_space was used to have significance in the
early days when the code was first introduced and before the ticketed
enospc rework. Since the latter got introduced the return value lost any
significance whatsoever to its callers. So let's remove it. While at it
also remove the unused ticket variable in
btrfs_async_reclaim_metadata_space. It was used in the initial version
of the ticketed ENOSPC work, however Wang Xiaoguang detected a problem
with this and fixed it in ef3a50b92247 ("btrfs: introduce tickets_id to
determine whether asynchronous metadata reclaim work makes progress").

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c