diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-04-16 15:13:03 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:07 +0200 |
commit | 85d288309ab5463140a2d00b3827262fb14e7db4 (patch) | |
tree | 5a9b6f670cf99e145533965fdf2e56945f3b9a99 /fs/dlm/dir.c | |
parent | 078b981aaa565040348cd3ca75b0ec9e138464a9 (diff) |
btrfs: use btrfs_get_fs_generation() at try_release_extent_mapping()
Nowadays we have the btrfs_get_fs_generation() to get the current
generation of the filesystem, so there's no need anymore to lock the
transaction spinlock to read it.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/dlm/dir.c')
0 files changed, 0 insertions, 0 deletions