• N
    btrfs: Make flush_space return void · e38ae7a0
    Nikolay Borisov 提交于
    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 ce129655 ("btrfs: introduce tickets_id to
    determine whether asynchronous metadata reclaim work makes progress").
    Signed-off-by: NNikolay Borisov <nborisov@suse.com>
    Reviewed-by: NDavid Sterba <dsterba@suse.com>
    [ add comment ]
    Signed-off-by: NDavid Sterba <dsterba@suse.com>
    e38ae7a0
extent-tree.c 299.7 KB