diff --git a/[refs] b/[refs] index 2d0d45ffb614..411acb5fa226 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 88b9e456b1649722673ffa147914299799dc9041 +refs/heads/master: 5ca3957510b9fc2a14d3647db518014842f9a2b4 diff --git a/trunk/mm/mempolicy.c b/trunk/mm/mempolicy.c index 31d26637b658..868d08f49f07 100644 --- a/trunk/mm/mempolicy.c +++ b/trunk/mm/mempolicy.c @@ -2391,8 +2391,8 @@ static int shared_policy_replace(struct shared_policy *sp, unsigned long start, *mpol_new = *n->policy; atomic_set(&mpol_new->refcnt, 1); sp_node_init(n_new, n->end, end, mpol_new); - sp_insert(sp, n_new); n->end = start; + sp_insert(sp, n_new); n_new = NULL; mpol_new = NULL; break;