From: Maxim Patlasov Date: Wed, 20 Feb 2013 02:13:32 +0000 (+1100) Subject: proc: avoid extra pde_put() in proc_fill_super() X-Git-Tag: v3.9-rc1~56^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e0aab37ff6c4284810a48d6034314fbf4eb319;p=pandora-kernel.git 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 Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed