1 exfat_core.c - ffsReadFile - the goto err_out seem to leak a brelse().
4 exfat_core.c - fs_sync(sb,0) all over the place looks fishy as hell.
5 There's only one place that calls it with a non-zero argument.
7 ffsTruncateFile - if (old_size <= new_size) {
8 That doesn't look right. How did it ever work? Are they relying on lazy
9 block allocation when actual writes happen? If nothing else, it never
10 does the 'fid->size = new_size' and do the inode update....
12 ffsSetAttr() is just dangling in the breeze, not wired up at all...