am a0d4b9e8: am 91237300: Merge "Handle FUSE_FSYNCDIR as FUSE_FSYNC"

* commit 'a0d4b9e8430c94a951fc8b53ca83fad20c5e11e7':
  Handle FUSE_FSYNCDIR as FUSE_FSYNC
This commit is contained in:
JP Abgrall 2014-02-19 20:43:44 +00:00 committed by Android Git Automerger
commit c8178c8565
1 changed files with 2 additions and 2 deletions

View File

@ -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);