Btrfs: properly set new buffers for new blocks up to date
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
committed by
David Woodhouse
parent
d571976292
commit
df2ce34c88
@@ -467,7 +467,7 @@ struct buffer_head *btrfs_alloc_free_block(struct btrfs_trans_handle *trans,
|
||||
return NULL;
|
||||
}
|
||||
buf = find_tree_block(root, ins.objectid);
|
||||
dirty_tree_block(trans, root, buf);
|
||||
set_buffer_uptodate(buf);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user