#define LL_IOC_LLOOP_INFO _IOWR('f', 171, long)
#define LL_IOC_LLOOP_DETACH_BYDEV _IOWR('f', 172, long)
#define LL_IOC_PATH2FID _IOR ('f', 173, long)
+#define LL_IOC_GET_MDTIDX _IOR ('f', 174, int)
#define LL_STATFS_MDC 1
#define LL_STATFS_LOV 2
#define LUSTRE_Q_FINVALIDATE 0x80000c /* invalidate filter quota data */
#define UGQUOTA 2 /* set both USRQUOTA and GRPQUOTA */
-#define IMMQUOTA 0x4 /* set immutable quota flag, cannot be turned on/off
- * on-fly. temporary used by SOM */
struct if_quotacheck {
char obd_type[16];
static __inline__ struct hsm_action_item * hai_zero(struct hsm_action_list *hal)
{
return (struct hsm_action_item *)(hal->hal_fsname +
- size_round(strlen(hal->hal_fsname)));
+ cfs_size_round(strlen(hal-> \
+ hal_fsname)));
}
/* Return pointer to next hai */
static __inline__ struct hsm_action_item * hai_next(struct hsm_action_item *hai)
{
return (struct hsm_action_item *)((char *)hai +
- size_round(hai->hai_len));
+ cfs_size_round(hai->hai_len));
}