Btrfs: don't start a new transaction when starting sync
authorMiao Xie <[email protected]>
Mon, 26 Nov 2012 08:41:29 +0000 (08:41 +0000)
committerChris Mason <[email protected]>
Mon, 17 Dec 2012 01:46:08 +0000 (20:46 -0500)
commitff7c1d33551862c86f7737fe88edc3e499d291e6
treec6566284d5c411645a6e938f2659d478a801ab1b
parent9a8c28bec1b40e934ed28149b7eaa7d2fafed92d
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ioctl.c
fs/btrfs/transaction.c