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 | 69ba39272c519a34a4a0169b839ca177bf0f0104 (patch) | |
tree | 8da352502d645a88b7e8eab11c2abe539b12e013 | |
parent | 09c25a8cda5baf6537234be0954173a18568423d (diff) |
btrfs: make clear_extent_buffer_uptodate return void
Does not return any errors, nor anything from the callgraph.
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/extent_io.c | 3 | ||||
-rw-r--r-- | fs/btrfs/extent_io.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 47db9069bf05..d5778e821d60 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -5227,7 +5227,7 @@ int set_extent_buffer_dirty(struct extent_buffer *eb) return was_dirty; } -int clear_extent_buffer_uptodate(struct extent_buffer *eb) +void clear_extent_buffer_uptodate(struct extent_buffer *eb) { unsigned long i; struct page *page; @@ -5240,7 +5240,6 @@ int clear_extent_buffer_uptodate(struct extent_buffer *eb) if (page) ClearPageUptodate(page); } - return 0; } void set_extent_buffer_uptodate(struct extent_buffer *eb) diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 013af0512f1a..ad1d28c1cfd4 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -331,7 +331,7 @@ void memset_extent_buffer(struct extent_buffer *eb, char c, void clear_extent_buffer_dirty(struct extent_buffer *eb); int set_extent_buffer_dirty(struct extent_buffer *eb); void set_extent_buffer_uptodate(struct extent_buffer *eb); -int clear_extent_buffer_uptodate(struct extent_buffer *eb); +void clear_extent_buffer_uptodate(struct extent_buffer *eb); int extent_buffer_uptodate(struct extent_buffer *eb); int extent_buffer_under_io(struct extent_buffer *eb); int map_private_extent_buffer(struct extent_buffer *eb, unsigned long offset, |