commit | 6b54dae2b0defb30babb0fe87b13463b9f4b2907 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Oct 04 02:16:15 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Oct 04 07:55:20 2006 -0700 |
tree | 0a9e2d34f4fb089287b6d5b92cb438b30dd66293 | |
parent | b66285cee3f9abad26cca6c9b848e1ad6b792d94 [diff] |
[PATCH] knfsd: lockd: fix refount on nsm If nlm_lookup_host finds what it is looking for it exits with an extra reference on the matching 'nsm' structure. So don't actually count the reference until we are (fairly) sure it is going to be used. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>