]> wimlib.net Git - wimlib/commit
mount_image.c: Use setxattr wimfs.unmount_info, getxattr wimfs.unmount
authorEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 15:32:42 +0000 (10:32 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 16:17:35 +0000 (11:17 -0500)
commit6177ffdad774cf46516a2ab9d15f03df011b34ac
tree5e2315274ee90f6acc058e6258e2cbc819ba3ea9
parentd6760f6a62ba0843df274cece56b32f993e1e6c3
mount_image.c:  Use setxattr wimfs.unmount_info, getxattr wimfs.unmount

This lets us return the unmount status directly, instead of sending it
over the message queue (which is subject to problems, like it being
full).

Also, if commit fails, leave the image mounted, unless doing a forced
unmount.
src/mount_image.c