[PATCH 7/7] NLM: Add reference counting to lockd

2007-12-18 Thread Jeff Layton
...and only have lockd exit when the last reference is dropped. The problem is this: When a lock that a client is blocking on comes free, lockd does this in nlmsvc_grant_blocked(): nlm_async_call(block->b_call, NLMPROC_GRANTED_MSG, _grant_ops); the callback from this call is

[PATCH 7/7] NLM: Add reference counting to lockd

2007-12-18 Thread Jeff Layton
...and only have lockd exit when the last reference is dropped. The problem is this: When a lock that a client is blocking on comes free, lockd does this in nlmsvc_grant_blocked(): nlm_async_call(block->b_call, NLMPROC_GRANTED_MSG, _grant_ops); the callback from this call is

[PATCH 7/7] NLM: Add reference counting to lockd

2007-12-18 Thread Jeff Layton
...and only have lockd exit when the last reference is dropped. The problem is this: When a lock that a client is blocking on comes free, lockd does this in nlmsvc_grant_blocked(): nlm_async_call(block-b_call, NLMPROC_GRANTED_MSG, nlmsvc_grant_ops); the callback from this call is

[PATCH 7/7] NLM: Add reference counting to lockd

2007-12-18 Thread Jeff Layton
...and only have lockd exit when the last reference is dropped. The problem is this: When a lock that a client is blocking on comes free, lockd does this in nlmsvc_grant_blocked(): nlm_async_call(block-b_call, NLMPROC_GRANTED_MSG, nlmsvc_grant_ops); the callback from this call is