commit | f6d6737529ea164fd2ea79f02cc78a46bb9260f5 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jul 08 14:38:26 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jul 08 14:38:26 2014 -0700 |
tree | e5f71c7295f9e2cd224a66934eb78daf26be539c | |
parent | 75b7171fcb1a8f898ba533011ccb813792932e4c [diff] |
Fix sdcard's FUSE_FSYNCDIR handling. For a file the FUSE fh is a struct handle containing an int fd; for a directory it's a struct dirhandle containing a DIR*. Fix handle_fsync to extract the file descriptor appropriately in both cases. Bug: 14613980 Change-Id: I45515cff6638e27a99b849e6fc639d355dbb4d27