btrfs: no need to run delayed refs after commit_fs_roots during commit
authorDavid Sterba <dsterba@suse.com>
Fri, 8 Jan 2021 16:06:10 +0000 (17:06 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2021 14:35:04 +0000 (15:35 +0100)
commit14ff8e1970c03831bf64cf098f56e6ba83349170
tree4be7c81c7ac2b4af5c1d6109fd1997ce36c0c089
parente076ab2a2ca70a0270232067cd49f76cd92efe64
btrfs: no need to run delayed refs after commit_fs_roots during commit

The inode number cache has been removed in this dev cycle, there's one
more leftover. We don't need to run the delayed refs again after
commit_fs_roots as stated in the comment, because btrfs_save_ino_cache
is no more since 5297199a8bca ("btrfs: remove inode number cache
feature").

Nothing else between commit_fs_roots and btrfs_qgroup_account_extents
could create new delayed refs so the qgroup consistency should be safe.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c