Whamcloud - gitweb
LU-506 kernel: remove BKL
[fs/lustre-release.git] / lustre / obdecho / echo_client.c
index 1484037..2c21917 100644 (file)
@@ -2595,10 +2595,6 @@ echo_client_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
         int                     i;
         ENTRY;
 
-#ifndef HAVE_UNLOCKED_IOCTL
-        cfs_unlock_kernel();
-#endif
-
         memset(&dummy_oti, 0, sizeof(dummy_oti));
 
         oa = &data->ioc_obdo1;
@@ -2803,10 +2799,6 @@ out:
                 ldlm_lock_decref(&ack_lock->lock, ack_lock->mode);
         }
 
-#ifndef HAVE_UNLOCKED_IOCTL
-        cfs_lock_kernel();
-#endif
-
         return rc;
 }