procfs: clean proc_fill_super() up
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 13 Feb 2012 02:56:08 +0000 (21:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:34 +0000 (21:29 -0400)
commit6b4231e2f92adbcf96fb2a3fa751d7ca0a61b21f
treee4ede05b2253e6bc333b007b2550bd9503e0a98f
parentbe0d93f0aa5682a24a2a9ec0dd26fffaad608cce
procfs: clean proc_fill_super() up

First of all, there's no need to zero ->i_uid/->i_gid on root inode -
both had been set to zero already.  Moreover, let's take the iput()
on failure to the failure exit it belongs to...

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