|
@@ -3718,7 +3718,8 @@ noinline int btrfs_update_inode(struct btrfs_trans_handle *trans,
|
|
* without delay
|
|
* without delay
|
|
*/
|
|
*/
|
|
if (!btrfs_is_free_space_inode(inode)
|
|
if (!btrfs_is_free_space_inode(inode)
|
|
- && root->root_key.objectid != BTRFS_DATA_RELOC_TREE_OBJECTID) {
|
|
|
|
|
|
+ && root->root_key.objectid != BTRFS_DATA_RELOC_TREE_OBJECTID
|
|
|
|
+ && !root->fs_info->log_root_recovering) {
|
|
btrfs_update_root_times(trans, root);
|
|
btrfs_update_root_times(trans, root);
|
|
|
|
|
|
ret = btrfs_delayed_update_inode(trans, root, inode);
|
|
ret = btrfs_delayed_update_inode(trans, root, inode);
|