btrfs: remove a trivial helper btrfs_set_buffer_uptodate

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba
2015-12-03 13:06:46 +01:00
parent 3042460136
commit 4db8c528cd
4 changed files with 3 additions and 9 deletions

View File

@@ -7831,7 +7831,7 @@ btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root,
clear_bit(EXTENT_BUFFER_STALE, &buf->bflags);
btrfs_set_lock_blocking(buf);
btrfs_set_buffer_uptodate(buf);
set_extent_buffer_uptodate(buf);
if (root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID) {
buf->log_index = root->log_transid % 2;