b=16496
i=bzzz
i=vitaly
fix a race between class_handle_unhash() and class_handle2object()
introduced in lustre 1.6.5 by bug 13622. check for h_in instead of
h_cookie in class_handle2object().
assertion failure in iopen since the inode's dentry list contains
both a connected and disconnected dentry.
+Severity : normal
+Bugzilla : 16496
+Description: assertion failure in ldlm_handle2lock()
+Details : fix a race between class_handle_unhash() and class_handle2object()
+ introduced in lustre 1.6.5 by bug 13622.
+
--------------------------------------------------------------------------------
2007-08-10 Cluster File Systems, Inc. <info@clusterfs.com>
continue;
spin_lock(&h->h_lock);
- if (likely(h->h_cookie != 0)) {
+ if (likely(h->h_in != 0)) {
h->h_addref(h);
retval = h;
}