diff options
author | Justus Winter <justus@gnupg.org> | 2017-08-24 16:45:49 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-08-24 23:22:19 +0200 |
commit | a3254ced93e2db103d7395c4d5a727260ae69894 (patch) | |
tree | f4a0c2fb5a5517ed80a84c10dfa05b056a2263f4 /libdiskfs/fsys-options.c | |
parent | 477b739fdff7b205b1b6066a2685c0924fc0ea9f (diff) | |
download | hurd-a3254ced93e2db103d7395c4d5a727260ae69894.tar.gz hurd-a3254ced93e2db103d7395c4d5a727260ae69894.tar.bz2 hurd-a3254ced93e2db103d7395c4d5a727260ae69894.zip |
libdiskfs: Use control class for the singleton 'bootinfo'.
* libdiskfs/boot-start.c (bootinfo): New variable.
(diskfs_start_bootstrap): Create 'bootinfo' as an instance of
'diskfs_control_class'.
(diskfs_S_fsys_getpriv): Only allow operation on 'bootinfo'.
(diskfs_S_fsys_init): Allow operation on any control object, but only
once.
* libdiskfs/diskfs.h (diskfs_initboot_class): Drop declaration.
* libdiskfs/init-init.c (diskfs_initboot_class): Drop variable.
(diskfs_init_diskfs): Adapt.
Diffstat (limited to 'libdiskfs/fsys-options.c')
0 files changed, 0 insertions, 0 deletions