Revision f066e7fb
ID | f066e7fbe0a2562ab80809a55e77e1c76b35c96a |
Parent | 952cf6e2 |
Child | 61660332 |
Add a function for determining if a client holds a lock
This convenience function examines 'listLocks' for a particular owner
and checks, if it holds a given lock at a given ownership level (or
higher). Therefore checking for a shared locks returns 'True' if the
owner holds a shared or exclusive lock.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted