summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorMaxim Patlasov2013-02-20 03:13:32 +0100
committerAl Viro2013-02-26 08:46:14 +0100
commit87e0aab37ff6c4284810a48d6034314fbf4eb319 (patch)
tree8e60b24d094edef3d5b6d347444fe4db8c688f10 /net/sunrpc
parentfs: change return values from -EACCES to -EPERM (diff)
downloadkernel-qcow2-linux-87e0aab37ff6c4284810a48d6034314fbf4eb319.tar.gz
kernel-qcow2-linux-87e0aab37ff6c4284810a48d6034314fbf4eb319.tar.xz
kernel-qcow2-linux-87e0aab37ff6c4284810a48d6034314fbf4eb319.zip
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>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions