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/diskfs.h | |
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/diskfs.h')
-rw-r--r-- | libdiskfs/diskfs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index ea79a1d2..402b65e5 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -216,7 +216,6 @@ struct pager; extern struct port_class *diskfs_protid_class; extern struct port_class *diskfs_control_class; extern struct port_class *diskfs_execboot_class; -extern struct port_class *diskfs_initboot_class; extern struct port_class *diskfs_shutdown_notification_class; extern struct port_bucket *diskfs_port_bucket; |