diff options
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index bfa71080096..56de3fb2d8d 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
@@ -2686,8 +2686,7 @@ next_slot: | |||
2686 | ins_nr = 0; | 2686 | ins_nr = 0; |
2687 | } | 2687 | } |
2688 | WARN_ON(ins_nr); | 2688 | WARN_ON(ins_nr); |
2689 | if (inode_only == LOG_INODE_ALL && S_ISDIR(inode->i_mode) && | 2689 | if (inode_only == LOG_INODE_ALL && S_ISDIR(inode->i_mode)) { |
2690 | BTRFS_I(inode)->log_dirty_trans >= trans->transid) { | ||
2691 | btrfs_release_path(root, path); | 2690 | btrfs_release_path(root, path); |
2692 | btrfs_release_path(log, dst_path); | 2691 | btrfs_release_path(log, dst_path); |
2693 | BTRFS_I(inode)->log_dirty_trans = 0; | 2692 | BTRFS_I(inode)->log_dirty_trans = 0; |