Skip to content
Commit 6b4231e2 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent be0d93f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment