mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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>
This commit is contained in:
parent
09c25a8cda
commit
69ba39272c
@ -5227,7 +5227,7 @@ int set_extent_buffer_dirty(struct extent_buffer *eb)
|
|||||||
return was_dirty;
|
return was_dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
int clear_extent_buffer_uptodate(struct extent_buffer *eb)
|
void clear_extent_buffer_uptodate(struct extent_buffer *eb)
|
||||||
{
|
{
|
||||||
unsigned long i;
|
unsigned long i;
|
||||||
struct page *page;
|
struct page *page;
|
||||||
@ -5240,7 +5240,6 @@ int clear_extent_buffer_uptodate(struct extent_buffer *eb)
|
|||||||
if (page)
|
if (page)
|
||||||
ClearPageUptodate(page);
|
ClearPageUptodate(page);
|
||||||
}
|
}
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_extent_buffer_uptodate(struct extent_buffer *eb)
|
void set_extent_buffer_uptodate(struct extent_buffer *eb)
|
||||||
|
@ -331,7 +331,7 @@ void memset_extent_buffer(struct extent_buffer *eb, char c,
|
|||||||
void clear_extent_buffer_dirty(struct extent_buffer *eb);
|
void clear_extent_buffer_dirty(struct extent_buffer *eb);
|
||||||
int set_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);
|
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_uptodate(struct extent_buffer *eb);
|
||||||
int extent_buffer_under_io(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,
|
int map_private_extent_buffer(struct extent_buffer *eb, unsigned long offset,
|
||||||
|
Loading…
Reference in New Issue
Block a user