aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/fsys-goaway.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-24 16:45:49 +0200
committerJustus Winter <justus@gnupg.org>2017-08-24 23:22:19 +0200
commita3254ced93e2db103d7395c4d5a727260ae69894 (patch)
treef4a0c2fb5a5517ed80a84c10dfa05b056a2263f4 /libdiskfs/fsys-goaway.c
parent477b739fdff7b205b1b6066a2685c0924fc0ea9f (diff)
downloadhurd-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-goaway.c')
0 files changed, 0 insertions, 0 deletions