yan 620727506d proc: return -ENOMEM when inode allocation failed
If proc_get_inode() returns NULL then presumably it encountered memory
exhaustion.  proc_lookup_de() should return -ENOMEM in this case, not
-EINVAL.

Signed-off-by: yan <clouds.yan@gmail.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-06 03:05:17 +09:00
..
2012-09-26 21:10:01 -04:00
2012-05-28 09:54:45 -07:00
2009-05-15 15:32:45 +02:00
2012-03-21 17:54:57 -07:00
2012-07-14 16:38:34 +04:00
2012-05-31 17:49:28 -07:00