230 |
struct ccs_mount_acl_record *entry; |
struct ccs_mount_acl_record *entry; |
231 |
size = sizeof(*entry); |
size = sizeof(*entry); |
232 |
entry = container_of(acl, typeof(*entry), head); |
entry = container_of(acl, typeof(*entry), head); |
233 |
ccs_put_name(entry->dev_name); |
ccs_put_name_union(&entry->dev_name); |
234 |
ccs_put_name(entry->dir_name); |
ccs_put_name_union(&entry->dir_name); |
235 |
ccs_put_name(entry->fs_type); |
ccs_put_name_union(&entry->fs_type); |
236 |
|
ccs_put_number_union(&entry->flags); |
237 |
} |
} |
238 |
break; |
break; |
239 |
case CCS_TYPE_UMOUNT_ACL: |
case CCS_TYPE_UMOUNT_ACL: |
241 |
struct ccs_umount_acl_record *entry; |
struct ccs_umount_acl_record *entry; |
242 |
size = sizeof(*entry); |
size = sizeof(*entry); |
243 |
entry = container_of(acl, typeof(*entry), head); |
entry = container_of(acl, typeof(*entry), head); |
244 |
ccs_put_name(entry->dir); |
ccs_put_name_union(&entry->dir); |
245 |
} |
} |
246 |
break; |
break; |
247 |
case CCS_TYPE_CHROOT_ACL: |
case CCS_TYPE_CHROOT_ACL: |
249 |
struct ccs_chroot_acl_record *entry; |
struct ccs_chroot_acl_record *entry; |
250 |
size = sizeof(*entry); |
size = sizeof(*entry); |
251 |
entry = container_of(acl, typeof(*entry), head); |
entry = container_of(acl, typeof(*entry), head); |
252 |
ccs_put_name(entry->dir); |
ccs_put_name_union(&entry->dir); |
253 |
} |
} |
254 |
break; |
break; |
255 |
case CCS_TYPE_PIVOT_ROOT_ACL: |
case CCS_TYPE_PIVOT_ROOT_ACL: |
257 |
struct ccs_pivot_root_acl_record *entry; |
struct ccs_pivot_root_acl_record *entry; |
258 |
size = sizeof(*entry); |
size = sizeof(*entry); |
259 |
entry = container_of(acl, typeof(*entry), head); |
entry = container_of(acl, typeof(*entry), head); |
260 |
ccs_put_name(entry->old_root); |
ccs_put_name_union(&entry->old_root); |
261 |
ccs_put_name(entry->new_root); |
ccs_put_name_union(&entry->new_root); |
262 |
} |
} |
263 |
break; |
break; |
264 |
default: |
default: |