LTIME_S(attr->ia_atime) = rec->sa_atime;
LTIME_S(attr->ia_mtime) = rec->sa_mtime;
LTIME_S(attr->ia_ctime) = rec->sa_ctime;
+#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,14))
attr->ia_attr_flags = rec->sa_attr_flags;
-
+#else
+ #warning "fix it later for fc5"
+#endif
LASSERT_REQSWAB (req, offset + 1);
if (lustre_msg_bufcount(req->rq_reqmsg) > offset + 1) {
r->ur_eadata = lustre_msg_buf(req->rq_reqmsg, offset + 1, 0);
GOTO(cleanup, rc);
if (rec->ur_iattr.ia_valid & ATTR_ATTR_FLAG) { /* ioctl */
+
+#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,14))
rc = fsfilt_iocontrol(obd, inode, NULL, EXT3_IOC_SETFLAGS,
(long)&rec->ur_iattr.ia_attr_flags);
+#else
+ #warning "fix it later for fc5"
+#endif
} else if (rec->ur_iattr.ia_valid) { /* setattr */
rc = fsfilt_setattr(obd, de, handle, &rec->ur_iattr, 0);
/* journal chown/chgrp in llog, just like unlink */