* in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see [sun.com URL with a
- * copy of GPLv2].
+ * version 2 along with this program; If not, see
+ * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
#include <libcfs/list.h>
#include <obd_class.h>
+#include <lustre_log.h>
#include <lustre_fsfilt.h>
-#include <lustre_commit_confd.h>
-
#include "filter_internal.h"
int filter_log_sz_change(struct llog_handle *cathandle,
oa->o_id = lur->lur_oid;
oa->o_gr = lur->lur_ogen;
oa->o_valid = OBD_MD_FLID | OBD_MD_FLGROUP;
- memcpy(obdo_logcookie(oa), cookie, sizeof(*cookie));
+ oa->o_lcookie = *cookie;
oid = oa->o_id;
rc = filter_destroy(exp, oa, NULL, NULL, NULL);
oinfo.oi_oa->o_valid = OBD_MD_FLID | OBD_MD_FLGROUP;
oinfo.oi_oa->o_uid = lsr->lsr_uid;
oinfo.oi_oa->o_gid = lsr->lsr_gid;
- memcpy(obdo_logcookie(oinfo.oi_oa), cookie, sizeof(*cookie));
+ oinfo.oi_oa->o_lcookie = *cookie;
oid = oinfo.oi_oa->o_id;
rc = filter_setattr(exp, &oinfo, NULL);