r=vitaly,adilger
Always walk entire list of granted locks on match for now.
Description: build for x2 fails
Details : fix compile issue on Cray systems.
+Severity : normal
+Bugzilla : 14379
+Description: Properly match for duplicate locks
+Details : Due to different lock order from skiplists code, we need to
+ traverse entire list for now
+
--------------------------------------------------------------------------------
2007-08-10 Cluster File Systems, Inc. <info@clusterfs.com>
lock = list_entry(tmp, struct ldlm_lock, l_res_link);
if (lock == old_lock)
- break;
+ continue;
/* llite sometimes wants to match locks that will be
* canceled when their users drop, but we allow it to match