From: Al Viro Date: Thu, 20 Nov 2014 19:18:09 +0000 (-0500) Subject: fs/namei.c: new helper (path_cleanup()) X-Git-Tag: omap-for-v3.20/drop-legacy-3517~57^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893b7775a70e2e2050d5c3829996e906f7a3410c;p=pandora-kernel.git fs/namei.c: new helper (path_cleanup()) All callers of path_init() proceed to do the identical cleanup when they are done with nameidata. Don't open-code it... Signed-off-by: Al Viro --- Reading git-diff-tree failed