]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36f9c8f5fe1c56e2c9105a082ff695fa2169190c
tree29bffccbd76c2fc0659f6d94a95f95b2d940f7a5
parentd7454450c52697265dc913e9cebb79a8e2ecfcf1
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