libfuse: Added support for auto_unmount option
authorMax Krasnyansky <maxk@kernel.org>
Sat, 12 Mar 2011 04:49:18 +0000 (20:49 -0800)
committerMax Krasnyansky <maxk@kernel.org>
Fri, 15 Apr 2011 22:10:04 +0000 (15:10 -0700)
commit9ca8283f6f4ba78019978d3a5e423ca3e66f58ba
treeb4e0412d9a3974cc447233a6454397903e4566d4
parent5e1b1932395dd749c542f96bfcfe51ff955a7ebe
libfuse: Added support for auto_unmount option

This change adds support for "auto_unmount" option to libfuse.
auto_umount option unmounts the fs automatically on application
termination, whether normal or not (segfault, etc).

When auto_unmount option is specified libfuse will alway use
fusermount for mounting the fs. This change is selfcontained but
for complete functionaly it requires auto_unmount support in
fusermount tool.
lib/mount.c