On Fri, 2 Dec 2011 18:40:27 +0800 Bob Liu <lliubbo@xxxxxxxxx> wrote: > There are multi places need to get swap_cgroup, so add a helper > function: > static struct swap_cgroup *swap_cgroup_getsc(swp_entry_t ent, > struct swap_cgroup_ctrl **ctrl); > to simple the code. > > v1 -> v2: > - add parameter struct swap_cgroup_ctrl **ctrl suggested by Michal > > Signed-off-by: Bob Liu <lliubbo@xxxxxxxxx> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>