diff options
author | David Sterba <dsterba@suse.com> | 2015-12-03 13:06:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-12-07 15:06:45 +0100 |
commit | 4db8c528cdccb44f8ca237ca3c695d6c164fa70f (patch) | |
tree | 597ff8935523875fc2db9551f5d496d2cf2da2e8 /fs/btrfs/volumes.c | |
parent | 3042460136bee7bf48860f16a391e6d75f2d0d5c (diff) | |
download | op-kernel-dev-4db8c528cdccb44f8ca237ca3c695d6c164fa70f.zip op-kernel-dev-4db8c528cdccb44f8ca237ca3c695d6c164fa70f.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index e335938..83bbca7 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), |