From: Al Viro Date: Sun, 10 May 2015 14:43:46 +0000 (-0400) Subject: namei: simplify failure exits in get_link() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~213^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6920a4405e6ff7813de4d5a9eb5e0b475e41a06b;p=pandora-kernel.git namei: simplify failure exits in get_link() when cookie is NULL, put_link() is equivalent to path_put(), so as soon as we'd set last->cookie to NULL, we can bump nd->depth and let the normal logics in terminate_walk() to take care of cleanups. Signed-off-by: Al Viro --- Reading git-diff-tree failed