Commit 5b83d2c5 authored by Committed by Linus TorvaldsBrowse files
[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 <email@example.com> Signed-off-by: Al Viro <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>