]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd3d009cb965eae7e002ea5badf603ea8f4c34915
tree624a97e06717507d4246da2369b684d4ebd6e0a9
parent87e0aab37ff6c4284810a48d6034314fbf4eb319
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