commit | 88108bd3bc8f6801310caa070745edc8f377c383 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Wed Jan 25 13:30:34 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Wed Jan 25 13:30:34 2017 +0900 |
tree | b0d05d3a17ed37af2a314b76e3a7ee2c7f083778 | |
parent | 8be61daff76790439092ffe0f061a1339765df1b [diff] |
Use MNT_DETACH when unmounting appfuse mount. The system server requests unmount for appfuse when all opened file on appfuse are closed. However the kernel sometimes returns EBUSY for umount2 if it's just after closing all FDs on the mount point. To avoid the case, specify MNT_DETACH to unmount. Bug: 33363856 Test: mount and unmount appfuse repeatedly and see if unmount succeed. Change-Id: I802e1c048357cc445febf3b95341999463a0ec65