Whamcloud - gitweb
fix endian mixup from previous patches
authorjacob <jacob>
Thu, 29 Apr 2004 03:17:18 +0000 (03:17 +0000)
committerjacob <jacob>
Thu, 29 Apr 2004 03:17:18 +0000 (03:17 +0000)
lustre/obdclass/llog_ioctl.c

index 6c060e7..682f33a 100644 (file)
@@ -341,7 +341,7 @@ int llog_ioctl(struct llog_ctxt *ctxt, int cmd, struct obd_ioctl_data *data)
         case OBD_IOC_LLOG_REMOVE: {
                 struct llog_logid plain;
 
-                if (handle->lgh_hdr->llh_flags & cpu_to_le32(LLOG_F_IS_PLAIN)) {
+                if (handle->lgh_hdr->llh_flags & LLOG_F_IS_PLAIN) {
                         err = llog_destroy(handle);
                         if (!err)
                                 llog_free_handle(handle);