Przeglądaj źródła

[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: Eric W. Biederman <ebiederm@xmission.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Eric W. Biederman 18 lat temu
rodzic
commit
c88be3eb2e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      kernel/pid.c

+ 1 - 1
kernel/pid.c

@@ -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];