Skip to content
Commit 8732d44f authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

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: default avatarDavid Sterba <dave@jikos.cz>
Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
parent aa42ffd9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment