summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
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
commit09c25a8cda5baf6537234be0954173a18568423d (patch)
treef3dfcd716f71d14fc1ab52002bf9826ae2c5e0f5 /fs/btrfs/extent_io.c
parent4db8c528cdccb44f8ca237ca3c695d6c164fa70f (diff)
downloadlinux-stable-09c25a8cda5baf6537234be0954173a18568423d.tar.gz
linux-stable-09c25a8cda5baf6537234be0954173a18568423d.tar.bz2
linux-stable-09c25a8cda5baf6537234be0954173a18568423d.zip
btrfs: make set_extent_buffer_uptodate 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 9abe18763a7f..47db9069bf05 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -5243,7 +5243,7 @@ int clear_extent_buffer_uptodate(struct extent_buffer *eb)
return 0;
}
-int set_extent_buffer_uptodate(struct extent_buffer *eb)
+void set_extent_buffer_uptodate(struct extent_buffer *eb)
{
unsigned long i;
struct page *page;
@@ -5255,7 +5255,6 @@ int set_extent_buffer_uptodate(struct extent_buffer *eb)
page = eb->pages[i];
SetPageUptodate(page);
}
- return 0;
}
int extent_buffer_uptodate(struct extent_buffer *eb)