[PATCH] proc: inode number fixlet
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 2 Aug 2008 03:30:48 +0000 (07:30 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Aug 2008 05:18:03 +0000 (01:18 -0400)
commitcc996099174dc05b35b7a29301026987990e7f8c
treebfdb337167e8d33d5fd88a17503821f189485d3e
parent6450f65168bcf3c03b5fb44c2fe96682c0d3086b
[PATCH] proc: inode number fixlet

Ouch, if number taken from IDA is too big, the intent was to signal an
error, not check for overflow and still do overflowing addition.

One still needs 2^28 proc entries to notice this.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/generic.c