Whamcloud - gitweb
b=22299 do not set lustre read_only device when server umount and keep client records...
[fs/lustre-release.git] / lustre / obdclass / obd_config.c
index 8a6766f..93e9ab8 100644 (file)
@@ -493,10 +493,6 @@ int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
                                         obd_iocontrol(OBD_IOC_SYNC,
                                                       obd->obd_self_export,
                                                       0, NULL, NULL);
-                                        /* Set the obd readonly if we can */
-                                        obd_iocontrol(OBD_IOC_SET_READONLY,
-                                                      obd->obd_self_export,
-                                                      0, NULL, NULL);
                                 }
                                 break;
                         default: