]> git.baikalelectronics.ru Git - kernel.git/commit
saner proc_get_inode() calling conventions
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 Jan 2013 01:11:22 +0000 (20:11 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:14 +0000 (02:46 -0500)
commit2ab1e92b01a817d8336631050459ee8b74e3ea75
tree624a97e06717507d4246da2369b684d4ebd6e0a9
parentbf413d8dccc54328aed4cb47642a57cd819605a9
saner proc_get_inode() calling conventions

Make it drop the pde in *all* cases when no new reference to it is
put into an inode - both when an inode had already been set up
(as we were already doing) and when inode allocation has failed.
Makes for simpler logics in callers...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/generic.c
fs/proc/inode.c