diff options
author | Elliott Hughes <enh@google.com> | 2015-04-24 03:39:31 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-24 03:39:31 +0000 |
commit | 3d671000c7268fcfcaf5445734b88428af26c294 (patch) | |
tree | a99c3c230f9ab2cc6f4009753e0c2520c564af9e | |
parent | 77434ab362b3234accf16499aaf2a5340d568553 (diff) | |
parent | 28693983510b140240e7b3e83c082e516b83896f (diff) | |
download | system_core-3d671000c7268fcfcaf5445734b88428af26c294.zip system_core-3d671000c7268fcfcaf5445734b88428af26c294.tar.gz system_core-3d671000c7268fcfcaf5445734b88428af26c294.tar.bz2 |
am 28693983: am 1a39a994: Merge "Correct magic number on umount2"
* commit '28693983510b140240e7b3e83c082e516b83896f':
Correct magic number on umount2
-rw-r--r-- | sdcard/sdcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static int run(const char* source_path, const char* dest_path, uid_t uid, 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){ |