Commit c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c

Authored by Eric W. Biederman
Committed by Linus Torvalds
1 parent 6a1f3b8455

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -148,7 +148,7 @@
148 148 static int next_pidmap(int last)
149 149 {
150 150 int offset;
151   - pidmap_t *map;
  151 + struct pidmap *map;
152 152  
153 153 offset = (last + 1) & BITS_PER_PAGE_MASK;
154 154 map = &pidmap_array[(last + 1)/BITS_PER_PAGE];