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 <firstname.lastname@example.org> Signed-off-by: Al Viro <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>