]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: make sure to record the transid in new inodes
authorChris Mason <chris.mason@oracle.com>
Fri, 24 Jun 2011 17:13:29 +0000 (13:13 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 24 Jun 2011 17:13:29 +0000 (13:13 -0400)
commit0f7ddfd3faaf086965ce911373a3c09c2ba5ec21
tree3e7e5c82f2cb27d679178e4787a583b05b661110
parent0d8241223a7b83bd9df6587860fb567f263b6afe
Btrfs: make sure to record the transid in new inodes

When we create a new inode, we aren't filling in the
field that records the transaction that last changed this
inode.

If we then go to fsync that inode, it will be skipped because the field
isn't filled in.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c