]> git.baikalelectronics.ru Git - kernel.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)
commit859aa8783e0c74a8c7aa091d133a5ebb6d71d651
tree280edc4cacb9d14224f7d3da3510d386329a08ae
parenta3a88670233a97beadc32517f7a2507570519684
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