From: Ram Pai Date: Mon, 7 Nov 2005 22:16:29 +0000 (-0500) Subject: [PATCH] sanitize the interface of graft_tree(). X-Git-Tag: v2.6.15-rc1~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b83d2c5c0afcf5a3517cf00d9ceb41b8345e01b;p=pandora-kernel.git [PATCH] sanitize the interface of graft_tree(). Old semantics: graft_tree() grabs a reference on the vfsmount before returning success. New one: graft_tree() leaves that to caller. All the callers of graft_tree() immediately dropped that reference anyway. Changing the interface takes care of this unnecessary overhead. Idea proposed by Al Viro. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed