aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/init-main.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-10 23:26:25 +0200
committerJustus Winter <justus@gnupg.org>2017-09-12 12:23:46 +0200
commit89a49ec8b3a847f3b770cff6a4a80b98b94ad7bf (patch)
tree1b0a22717e14702e7db94d83252e43927fbffd65 /libdiskfs/init-main.c
parent86ecc3fc9aa88091ac77ec35688d08634567d169 (diff)
downloadhurd-89a49ec8b3a847f3b770cff6a4a80b98b94ad7bf.tar.gz
hurd-89a49ec8b3a847f3b770cff6a4a80b98b94ad7bf.tar.bz2
hurd-89a49ec8b3a847f3b770cff6a4a80b98b94ad7bf.zip
libdiskfs: Shutdown pagers on startup_dosync.
* libdiskfs/init-startup.c (diskfs_S_startup_dosync): Simplify the code by just using 'diskfs_shutdown' with the force flag. This also shuts down pagers, which potentially affects other tasks, but getting rid of the pagers allows us to commit a clean and consistent state to the disk before shutting down. Crashing other tasks just before the system powers down seems like a small price to pay.
Diffstat (limited to 'libdiskfs/init-main.c')
0 files changed, 0 insertions, 0 deletions