commit | 87e0aab37ff6c4284810a48d6034314fbf4eb319 | [log] [tgz] |
---|---|---|
author | Maxim Patlasov <mpatlasov@parallels.com> | Wed Feb 20 13:13:32 2013 +1100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Feb 26 02:46:14 2013 -0500 |
tree | 8e60b24d094edef3d5b6d347444fe4db8c688f10 | |
parent | 41735818766c0ec215b9a69591e7eae642061954 [diff] |
proc: avoid extra pde_put() in proc_fill_super() If proc_get_inode() succeeded, but d_make_root() failed, pde_put() for proc_root will be called twice: the first time due to iput() called from d_make_root() and the second time directly in the end of proc_fill_super(). Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>