summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2013-08-15 03:28:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-15 03:28:31 +0000
commit57d4b4ea6fc7d8014ebdf691ae8fbe204c67881b (patch)
tree9d102b8ba203b623c78d29a503b5b28431b55c62
parent7e64c1436b7693d94d22e45add85c74284c88273 (diff)
parent3a8768804ce4b4797359d5df03ec8897fe43de90 (diff)
downloadsystem_core-57d4b4ea6fc7d8014ebdf691ae8fbe204c67881b.zip
system_core-57d4b4ea6fc7d8014ebdf691ae8fbe204c67881b.tar.gz
system_core-57d4b4ea6fc7d8014ebdf691ae8fbe204c67881b.tar.bz2
Merge "Fix handle_opendir() in the sdcard daemon" into klp-dev
-rw-r--r--sdcard/sdcard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 4427415..7349b22 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1321,6 +1321,8 @@ static int handle_opendir(struct fuse* fuse, struct fuse_handler* handler,
return -errno;
}
out.fh = ptr_to_id(h);
+ out.open_flags = 0;
+ out.padding = 0;
fuse_reply(fuse, hdr->unique, &out, sizeof(out));
return NO_STATUS;
}