diff options
Diffstat (limited to 'fs/btrfs/tree-log.c')
-rw-r--r-- | fs/btrfs/tree-log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 71e71539ffb7..fc0df95c2862 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c | |||
@@ -3185,6 +3185,7 @@ next_slot: | |||
3185 | } | 3185 | } |
3186 | } | 3186 | } |
3187 | BTRFS_I(inode)->logged_trans = trans->transid; | 3187 | BTRFS_I(inode)->logged_trans = trans->transid; |
3188 | BTRFS_I(inode)->last_log_commit = BTRFS_I(inode)->last_sub_trans; | ||
3188 | out_unlock: | 3189 | out_unlock: |
3189 | mutex_unlock(&BTRFS_I(inode)->log_mutex); | 3190 | mutex_unlock(&BTRFS_I(inode)->log_mutex); |
3190 | 3191 | ||