commit | 723bb5b5052faba57060a2feb564ced22416b5bc | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue Dec 14 15:05:33 2010 +0000 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Dec 16 12:37:26 2010 -0500 |
tree | e70324287a277846d32ddc3a6724251e1fc27724 | |
parent | a7952f4056d4d9c63c70534bcfd4f2c11e487000 [diff] |
lockd: Add nlm_destroy_host_locked() Refactor the tail of nlm_gc_hosts() into nlm_destroy_host() so that this logic can be used separately from garbage collection. Rename it _locked() to document that it must be called with the hosts cache mutex held. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>