aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 8b0f9ef517d6..748c9136a60a 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4134,7 +4134,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
4134 * per cpu locality group is to reduce the contention between block 4134 * per cpu locality group is to reduce the contention between block
4135 * request from multiple CPUs. 4135 * request from multiple CPUs.
4136 */ 4136 */
4137 ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups); 4137 ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
4138 4138
4139 /* we're going to use group allocation */ 4139 /* we're going to use group allocation */
4140 ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC; 4140 ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;