Bugzilla : 22107
Description: pin object's inode in memory to avoid certain timeouts
+Severity : normal
+Bugzilla : 21745
+Description: fix LBUG when obdfilter-survey is interrupted.
+
-------------------------------------------------------------------------------
2010-07-31 Oracle, Inc.
el = ec->ec_objects.next;
eco = list_entry(el, struct ec_object, eco_obj_chain);
- LASSERT(eco->eco_refcount == 0);
+ if (eco->eco_refcount > 0)
+ RETURN(-EBUSY);
eco->eco_refcount = 1;
eco->eco_deleted = 1;
echo_put_object(eco);