Home
last modified time | relevance | path

Searched hist:"5 b83d2c5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/
H A Dnamespace.c5b83d2c5 Mon Nov 07 16:16:29 CST 2005 Ram Pai <linuxram@us.ibm.com> [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 <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>