lockd: posix_test_lock() should not call locks_copy_lock()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:38 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:38 +0000 (13:44 -0500)
commit0996905f9301c2ff4c021982c42a15b35e74bf1c
tree29bffccbd76c2fc0659f6d94a95f95b2d940f7a5
parent3feb2d49394b7874348a6e43c076b780c1d222c5
lockd: posix_test_lock() should not call locks_copy_lock()

The caller of posix_test_lock() should never need to look at the lock
private data, so do not copy that information. This also means that there
is no need to call the fl_release_private methods.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/locks.c