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
@@ -473,7 +473,10 @@ static int btrfs_sync_fs(struct super_block *sb, int wait)
|
||||
struct btrfs_trans_handle *trans;
|
||||
struct btrfs_root *root;
|
||||
int ret;
|
||||
|
||||
sb->s_dirt = 0;
|
||||
return 0;
|
||||
|
||||
root = btrfs_sb(sb);
|
||||
trans = btrfs_start_transaction(root, 1);
|
||||
ret = btrfs_commit_transaction(trans, root);
|
||||
|
Reference in New Issue
Block a user