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

* commit 'c8178c85650341790d33b39cc78c4501a723279e':
  Handle FUSE_FSYNCDIR as FUSE_FSYNC
This commit is contained in:
JP Abgrall 2014-02-19 20:46:02 +00:00 committed by Android Git Automerger
commit d4446607b4

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