Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c88be3eb authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

[PATCH] pids coding style use struct pidmap in next_pidmap



Use struct pidmap instead of pidmap_t.

This updates my proc: readdir race fix (take 3) patch
to account for the changes made by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
to kill pidmap_t.

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6a1f3b84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static int alloc_pidmap(void)
static int next_pidmap(int last)
{
	int offset;
	pidmap_t *map;
	struct pidmap *map;

	offset = (last + 1) & BITS_PER_PAGE_MASK;
	map = &pidmap_array[(last + 1)/BITS_PER_PAGE];