diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-09-18 05:52:38 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-09 00:07:33 (GMT) |
commit | 8732d44f806a9da9a7ca4d1704b8a1ed81639bc4 (patch) | |
tree | 52fec2808b8f6e7fdf7e99a907bf5e233e26cfd3 /fs/btrfs/ctree.h | |
parent | aa42ffd918c420d5625b25b7a0bc2bbde4c9f890 (diff) | |
download | linux-fsl-qoriq-8732d44f806a9da9a7ca4d1704b8a1ed81639bc4.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions