aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2014-08-17 13:30:28 -0400
committerTejun Heo <tj@kernel.org>2014-08-26 13:45:45 -0400
commita0b6bc63a20a91faef0127cc61cca6d06ee737df (patch)
treebf510806a9c5f937d51e0d71014da06c8d27f106
parent4a32fea9d78f2d2315c0072757b197d5a304dc8b (diff)
block: Replace __this_cpu_ptr with raw_cpu_ptr
__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was introduced in 3.15-rc1. Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-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 956027711faf..33ccdcf51a9e 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4129,7 +4129,7 @@ static void ext4_mb_group_or_file(struct ext4_allocation_context *ac)
4129 * per cpu locality group is to reduce the contention between block 4129 * per cpu locality group is to reduce the contention between block
4130 * request from multiple CPUs. 4130 * request from multiple CPUs.
4131 */ 4131 */
4132 ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups); 4132 ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
4133 4133
4134 /* we're going to use group allocation */ 4134 /* we're going to use group allocation */
4135 ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC; 4135 ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;