summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-12-03 13:08:59 +0100
committerDavid Sterba <dsterba@suse.com>2015-12-07 15:06:45 +0100
commitbd1fa4f0b0ddbed05ef98c28048d00db727c4b0e (patch)
tree856da612968e8061d8a08378ea858136e87e5b7b /fs/btrfs/extent_io.h
parentbtrfs: make end_extent_writepage return void (diff)
downloadlinux-bd1fa4f0b0ddbed05ef98c28048d00db727c4b0e.tar.xz
linux-bd1fa4f0b0ddbed05ef98c28048d00db727c4b0e.zip
btrfs: make extent_range_clear_dirty_for_io return void
Does not return any errors, nor anything from the callgraph. There's a BUG_ON but it's a sanity check and not an error condition we could recover from. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 81f84f1f488b..b0b2d20ffd3c 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -338,7 +338,7 @@ int map_private_extent_buffer(struct extent_buffer *eb, unsigned long offset,
unsigned long min_len, char **map,
unsigned long *map_start,
unsigned long *map_len);
-int extent_range_clear_dirty_for_io(struct inode *inode, u64 start, u64 end);
+void extent_range_clear_dirty_for_io(struct inode *inode, u64 start, u64 end);
int extent_range_redirty_for_io(struct inode *inode, u64 start, u64 end);
void extent_clear_unlock_delalloc(struct inode *inode, u64 start, u64 end,
struct page *locked_page,