lockd: make nlmsvc_lock use only posix_lock_file
authorAndy Adamson <andros@citi.umich.edu>
Mon, 20 Mar 2006 18:44:25 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:25 +0000 (13:44 -0500)
commita85f193e2fb7d53e48ae6a9d9ea990bfb4cea555
treef992c9b6b0ba6f1726a48af99a0251270d32e821
parent5de0e5024a4e21251fd80dbfdb83316ce97086bc
lockd: make nlmsvc_lock use only posix_lock_file

Reorganize nlmsvc_lock() to make full use of posix_lock_file(), which does
eveything nlmsvc_lock() needs - no need to call posix_test_lock(),
posix_locks_deadlock(), or posix_block_lock() separately.

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>
fs/lockd/svclock.c