]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't start a new transaction when starting sync
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 08:41:29 +0000 (08:41 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:08 +0000 (20:46 -0500)
commit381e2c9d83be72332b3d919bf2ad2fe02de15b13
treec6566284d5c411645a6e938f2659d478a801ab1b
parente51d1b6d2be68b4cb455cb95f452287c4c78b7fa
Btrfs: don't start a new transaction when starting sync

If there is no running transaction in the fs, we needn't start a new one when
we want to start sync.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ioctl.c
fs/btrfs/transaction.c