commit | 1a39a994d9c1d407fec17e0b9a00383d50c48085 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 24 03:21:43 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Apr 24 03:21:43 2015 +0000 |
tree | b50813183473d929b7dea66ac26243b10d879c72 | |
parent | d46567848bfcdc8f2cbc3faeef487cf5c770b43a [diff] | |
parent | 4555b69f266513025aed94c901af09bf13923286 [diff] |
Merge "Correct magic number on umount2"
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 041c37a..893c0dc 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c
@@ -1875,7 +1875,7 @@ struct fuse fuse; /* cleanup from previous instance, if necessary */ - umount2(dest_path, 2); + umount2(dest_path, MNT_DETACH); fd = open("/dev/fuse", O_RDWR); if (fd < 0){