aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 1372057e1ec1..399521ab61da 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3400,6 +3400,11 @@ static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info,
3400 } 3400 }
3401} 3401}
3402 3402
3403/*
3404 * Call btrfs_abort_transaction as early as possible when an error condition is
3405 * detected, that way the exact line number is reported.
3406 */
3407
3403#define btrfs_abort_transaction(trans, root, errno) \ 3408#define btrfs_abort_transaction(trans, root, errno) \
3404do { \ 3409do { \
3405 __btrfs_abort_transaction(trans, root, __func__, \ 3410 __btrfs_abort_transaction(trans, root, __func__, \