/* this must be called on a lockh that is known to have a referenced lock */
int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data,
- __u32 *bits)
+ __u64 *bits)
{
struct ldlm_lock *lock;
ENTRY;
if(bits)
*bits = 0;
- if (!*lockh) {
- EXIT;
+ if (!*lockh)
RETURN(0);
- }
lock = ldlm_handle2lock((struct lustre_handle *)lockh);