[PATCH] (2/5) sane procfs/dcache interaction
authorAlexander Viro <viro@math.psu.edu>
Mon, 22 Apr 2002 06:03:28 +0000 (23:03 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 22 Apr 2002 06:03:28 +0000 (23:03 -0700)
commit981936da6234efee942e2b79f93f5c4be57a4ed4
treee5d6b12376ee20793990c1dcc4e7f7ff239102a7
parentea306a2acfd41396c908552e49f1c1ab4adcdac8
[PATCH] (2/5) sane procfs/dcache interaction

 - new helper in fs/proc/base.c - name_to_int(dentry) returns ~0U if name
   doesn't match 0|[1-9][0-9]* or is too large.  Otherwise it returns
   numeric value of name.  proc_pid_lookup() and proc_lookupfd() converted.
fs/proc/base.c