diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2022-03-31 12:34:08 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:11 +0200 |
commit | 0d031dc4aa05819beb8b9188f4306a3f2bc17f55 (patch) | |
tree | 72f5e3a29736401fc2cbfa46fda812acd6b2a77c /fs/btrfs/space-info.c | |
parent | btrfs: expand subpage support to any PAGE_SIZE > 4K (diff) | |
download | linux-0d031dc4aa05819beb8b9188f4306a3f2bc17f55.tar.xz linux-0d031dc4aa05819beb8b9188f4306a3f2bc17f55.zip |
btrfs: remove unnecessary type casts
Explicit type casts are not necessary when it's void* to another pointer
type.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.c')
-rw-r--r-- | fs/btrfs/space-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c index b87931a458eb..4de2c82051b1 100644 --- a/fs/btrfs/space-info.c +++ b/fs/btrfs/space-info.c @@ -519,7 +519,7 @@ static void shrink_delalloc(struct btrfs_fs_info *fs_info, items = calc_reclaim_items_nr(fs_info, to_reclaim) * 2; } - trans = (struct btrfs_trans_handle *)current->journal_info; + trans = current->journal_info; /* * If we are doing more ordered than delalloc we need to just wait on |