From: jacob Date: Thu, 29 Apr 2004 03:17:18 +0000 (+0000) Subject: fix endian mixup from previous patches X-Git-Tag: 1.2.2~59 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c13e4f6b63484a797416f5e337c8537be7ef782c;p=fs%2Flustre-release.git fix endian mixup from previous patches --- diff --git a/lustre/obdclass/llog_ioctl.c b/lustre/obdclass/llog_ioctl.c index 6c060e7..682f33a 100644 --- a/lustre/obdclass/llog_ioctl.c +++ b/lustre/obdclass/llog_ioctl.c @@ -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);