summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorDavid Sterba2015-12-03 13:06:46 +0100
committerDavid Sterba2015-12-07 15:06:45 +0100
commit4db8c528cdccb44f8ca237ca3c695d6c164fa70f (patch)
tree597ff8935523875fc2db9551f5d496d2cf2da2e8 /fs/btrfs/volumes.c
parentbtrfs: remove wait from struct btrfs_delalloc_work (diff)
downloadkernel-qcow2-linux-4db8c528cdccb44f8ca237ca3c695d6c164fa70f.tar.gz
kernel-qcow2-linux-4db8c528cdccb44f8ca237ca3c695d6c164fa70f.tar.xz
kernel-qcow2-linux-4db8c528cdccb44f8ca237ca3c695d6c164fa70f.zip
btrfs: remove a trivial helper btrfs_set_buffer_uptodate
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index e335938825e1..83bbca7a3924 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -6468,11 +6468,11 @@ int btrfs_read_sys_array(struct btrfs_root *root)
sb = btrfs_find_create_tree_block(root, BTRFS_SUPER_INFO_OFFSET);
if (!sb)
return -ENOMEM;
- btrfs_set_buffer_uptodate(sb);
+ set_extent_buffer_uptodate(sb);
btrfs_set_buffer_lockdep_class(root->root_key.objectid, sb, 0);
/*
* The sb extent buffer is artifical and just used to read the system array.
- * btrfs_set_buffer_uptodate() call does not properly mark all it's
+ * set_extent_buffer_uptodate() call does not properly mark all it's
* pages up-to-date when the page is larger: extent does not cover the
* whole page and consequently check_page_uptodate does not find all
* the page's extents up-to-date (the hole beyond sb),