Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / fs / ext4 / mballoc.c
index 8b0f9ef517d690ea0ede0958c8aa726aebb86b35..748c9136a60a4e5fba2967fac108d298abf110ea 100644 (file)
@@ -4134,7 +4134,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
         * per cpu locality group is to reduce the contention between block
         * request from multiple CPUs.
         */
-       ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups);
+       ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
 
        /* we're going to use group allocation */
        ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;