diff options
author | David Sterba <dsterba@suse.com> | 2015-12-03 13:08:59 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-12-07 15:06:45 +0100 |
commit | a9d93e1778f3a92852d3816cd203cbec179b8813 (patch) | |
tree | 6f4c80499fa7e6b71801166e9ae6c30af3529506 /fs/btrfs/extent_io.c | |
parent | 69ba39272c519a34a4a0169b839ca177bf0f0104 (diff) |
btrfs: make extent_clear_unlock_delalloc return void
Does not return any errors, nor anything from the callgraph.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index d5778e821d60..b7261ea08a87 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -1820,7 +1820,7 @@ out_failed: return found; } -int extent_clear_unlock_delalloc(struct inode *inode, u64 start, u64 end, +void extent_clear_unlock_delalloc(struct inode *inode, u64 start, u64 end, struct page *locked_page, unsigned clear_bits, unsigned long page_ops) @@ -1835,7 +1835,7 @@ int extent_clear_unlock_delalloc(struct inode *inode, u64 start, u64 end, clear_extent_bit(tree, start, end, clear_bits, 1, 0, NULL, GFP_NOFS); if (page_ops == 0) - return 0; + return; if ((page_ops & PAGE_SET_ERROR) && nr_pages > 0) mapping_set_error(inode->i_mapping, -EIO); @@ -1869,7 +1869,6 @@ int extent_clear_unlock_delalloc(struct inode *inode, u64 start, u64 end, index += ret; cond_resched(); } - return 0; } /* |