mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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>
This commit is contained in:
parent
be0d93f0aa
commit
6b4231e2f9
1 changed files with 3 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue