summaryrefslogtreecommitdiffstats
path: root/sdcard
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-24 04:01:13 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-24 04:01:13 +0000
commitdac7f85d16c5bee79b6d944e0635fa1b6bceebb8 (patch)
treef13e72dcf5424021439fad2079e031eb471e4766 /sdcard
parent45a2329b2d3e928d48f546d6d6822620e0dac057 (diff)
parent3d671000c7268fcfcaf5445734b88428af26c294 (diff)
downloadsystem_core-dac7f85d16c5bee79b6d944e0635fa1b6bceebb8.zip
system_core-dac7f85d16c5bee79b6d944e0635fa1b6bceebb8.tar.gz
system_core-dac7f85d16c5bee79b6d944e0635fa1b6bceebb8.tar.bz2
am 3d671000: am 28693983: am 1a39a994: Merge "Correct magic number on umount2"
* commit '3d671000c7268fcfcaf5445734b88428af26c294': Correct magic number on umount2
Diffstat (limited to 'sdcard')
-rw-r--r--sdcard/sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 4712e90..f8b23a3 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1866,7 +1866,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){