commit | 5de0e5024a4e21251fd80dbfdb83316ce97086bc | [log] [tgz] |
---|---|---|
author | Andy Adamson <andros@citi.umich.edu> | Mon Mar 20 13:44:25 2006 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 20 13:44:25 2006 -0500 |
tree | fa34eeee2aa007fb49b34c45e55aafc8b67c6e37 | |
parent | 15dadef9460ad8d3b1d5ede1c1697dc79af44a72 [diff] |
lockd: simplify nlmsvc_grant_blocked Reorganize nlmsvc_grant_blocked() to make full use of posix_lock_file(). Note that there's no need for separate calls to posix_test_lock(), posix_locks_deadlock(), or posix_block_lock(). Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>