]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: fix the missing error information in create_pending_snapshot()
authorMiao Xie <miaox@cn.fujitsu.com>
Tue, 18 Sep 2012 05:52:38 +0000 (23:52 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 4 Oct 2012 13:40:02 +0000 (09:40 -0400)
commit395eff3dadec91f14ab38aa65b800456af9311a4
treedfe8d0b2c68d0b6af54d8d4b556c06243e2b67a3
parent244a2e60ad351361a1eea60a924f3fa52c969986
Btrfs: fix the missing error information in create_pending_snapshot()

The macro btrfs_abort_transaction() can get the line number of the code
where the problem happens, so we should invoke it in the place that the
error occurs, or we will lose the line number.

Reported-by: David Sterba <dave@jikos.cz>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/transaction.c