summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-02-19 20:34:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-19 20:34:21 +0000
commit912373005b53e70803cdae61dd63a18fa73a5e3e (patch)
treead5efcdb38c47174bb8f082ac953a42e4a13fff9
parent3b0c24e28d7538ff5b49a98eee99bac85c8e687b (diff)
parentb2831a2db9e0370c5f797c037c135108025f2522 (diff)
downloadsystem_core-912373005b53e70803cdae61dd63a18fa73a5e3e.zip
system_core-912373005b53e70803cdae61dd63a18fa73a5e3e.tar.gz
system_core-912373005b53e70803cdae61dd63a18fa73a5e3e.tar.bz2
Merge "Handle FUSE_FSYNCDIR as FUSE_FSYNC"
-rw-r--r--sdcard/sdcard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index cb03316..6a9c2eb 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -1503,7 +1503,8 @@ static int handle_fuse_request(struct fuse *fuse, struct fuse_handler* handler,
return handle_release(fuse, handler, hdr, req);
}
- case FUSE_FSYNC: {
+ case FUSE_FSYNC:
+ case FUSE_FSYNCDIR: {
const struct fuse_fsync_in *req = data;
return handle_fsync(fuse, handler, hdr, req);
}
@@ -1531,7 +1532,6 @@ static int handle_fuse_request(struct fuse *fuse, struct fuse_handler* handler,
return handle_releasedir(fuse, handler, hdr, req);
}
-// case FUSE_FSYNCDIR:
case FUSE_INIT: { /* init_in -> init_out */
const struct fuse_init_in *req = data;
return handle_init(fuse, handler, hdr, req);