commit | df2ce34c8801af8e00c7f82435fcb1e4b45a2759 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Mar 23 11:00:45 2007 -0400 |
committer | David Woodhouse <dwmw2@hera.kernel.org> | Fri Mar 23 11:00:45 2007 -0400 |
tree | 6231bb66994c54a18fe10ca26dfbe35e93e58721 | |
parent | d571976292839cec05a2820b08f7629b145ed157 [diff] [blame] |
Btrfs: properly set new buffers for new blocks up to date Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 6080a81..8970e9a 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c
@@ -473,7 +473,10 @@ 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);