diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index bba12824defa..d527fd384582 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -3932,7 +3932,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac) | |||
3932 | * per cpu locality group is to reduce the contention between block | 3932 | * per cpu locality group is to reduce the contention between block |
3933 | * request from multiple CPUs. | 3933 | * request from multiple CPUs. |
3934 | */ | 3934 | */ |
3935 | ac->ac_lg = per_cpu_ptr(sbi->s_locality_groups, raw_smp_processor_id()); | 3935 | ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups); |
3936 | 3936 | ||
3937 | /* we're going to use group allocation */ | 3937 | /* we're going to use group allocation */ |
3938 | ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC; | 3938 | ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC; |