diff options
author | Ram Pai <linuxram@us.ibm.com> | 2005-11-07 17:16:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 18:18:10 -0800 |
commit | 5b83d2c5c0afcf5a3517cf00d9ceb41b8345e01b (patch) | |
tree | ae92239c963b2d3cb12e2a561913451a77752d55 /net/decnet | |
parent | b58fed8b1959d6b9e4c951a54adc8960e1401b18 (diff) |
[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>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions