]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: make sure fallocate properly starts a transaction
authorChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 20:47:17 +0000 (15:47 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 20:47:17 +0000 (15:47 -0500)
commit3a1abec9f6880cf406593c392636199ea1c6c917
tree280edc4cacb9d14224f7d3da3510d386329a08ae
parent83d3c9696fed237a3d96fce18299e2fcf112109f
Btrfs: make sure fallocate properly starts a transaction

The recent patch to make fallocate enospc friendly would send
down a NULL trans handle to the allocator.  This moves the
transaction start to properly fix things.

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