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