mm: do_migrate_pages(): rename arguments
s/from_nodes/from and s/to_nodes/to/. The "_nodes" is redundant - it duplicates the argument's type. Done in a fit of irritation over 80-col issues :( Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <mkosaki@redhat.com> Cc: Larry Woodman <lwoodman@redhat.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
4a5b18cc19
commit
0ce72d4f73
@@ -225,8 +225,8 @@ static inline void check_highest_zone(enum zone_type k)
|
||||
policy_zone = k;
|
||||
}
|
||||
|
||||
int do_migrate_pages(struct mm_struct *mm,
|
||||
const nodemask_t *from_nodes, const nodemask_t *to_nodes, int flags);
|
||||
int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
|
||||
const nodemask_t *to, int flags);
|
||||
|
||||
|
||||
#ifdef CONFIG_TMPFS
|
||||
@@ -354,9 +354,8 @@ static inline bool mempolicy_nodemask_intersects(struct task_struct *tsk,
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline int do_migrate_pages(struct mm_struct *mm,
|
||||
const nodemask_t *from_nodes,
|
||||
const nodemask_t *to_nodes, int flags)
|
||||
static inline int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
|
||||
const nodemask_t *to, int flags)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user