aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 2871609641f5..c047eea4093f 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -2898,6 +2898,11 @@ int btrfs_log_inode_parent(struct btrfs_trans_handle *trans,
2898 2898
2899 sb = inode->i_sb; 2899 sb = inode->i_sb;
2900 2900
2901 if (btrfs_test_opt(root, NOTREELOG)) {
2902 ret = 1;
2903 goto end_no_trans;
2904 }
2905
2901 if (root->fs_info->last_trans_log_full_commit > 2906 if (root->fs_info->last_trans_log_full_commit >
2902 root->fs_info->last_trans_committed) { 2907 root->fs_info->last_trans_committed) {
2903 ret = 1; 2908 ret = 1;