Use safer names for byteorder stuff.

git-svn-id: http://exfat.googlecode.com/svn/trunk@365 60bc1c72-a15a-11de-b98f-4500b42dc123
Relicensed the code from GPLv3+ to GPLv2+.

git-svn-id: http://exfat.googlecode.com/svn/trunk@366 60bc1c72-a15a-11de-b98f-4500b42dc123
Fixed license for the SConscript.

git-svn-id: http://exfat.googlecode.com/svn/trunk@367 60bc1c72-a15a-11de-b98f-4500b42dc123
Implemented fsync() and fsyncdir().

git-svn-id: http://exfat.googlecode.com/svn/trunk@368 60bc1c72-a15a-11de-b98f-4500b42dc123
Fixed buffer overflows when handling files names of exactly 256 UTF-16 characters in length.

git-svn-id: http://exfat.googlecode.com/svn/trunk@369 60bc1c72-a15a-11de-b98f-4500b42dc123
Check max continuations count when reading file entry.

git-svn-id: http://exfat.googlecode.com/svn/trunk@370 60bc1c72-a15a-11de-b98f-4500b42dc123
Address clusters bitmap using size_t-sized blocks instead of bytes. This should be a bit faster.

git-svn-id: http://exfat.googlecode.com/svn/trunk@371 60bc1c72-a15a-11de-b98f-4500b42dc123
Give the caller a chance to handle I/O errors reported by pread() and pwrite().

git-svn-id: http://exfat.googlecode.com/svn/trunk@372 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O errors.

git-svn-id: http://exfat.googlecode.com/svn/trunk@373 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O error in erase_raw().

git-svn-id: http://exfat.googlecode.com/svn/trunk@374 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O error in set_next_cluster().

git-svn-id: http://exfat.googlecode.com/svn/trunk@375 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O errors in rename_entry().

git-svn-id: http://exfat.googlecode.com/svn/trunk@376 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O errors in erase_entry().

git-svn-id: http://exfat.googlecode.com/svn/trunk@377 60bc1c72-a15a-11de-b98f-4500b42dc123
Close device and free super block on failure to read boot sector.

git-svn-id: http://exfat.googlecode.com/svn/trunk@378 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O errors in exfat_flush_node().

git-svn-id: http://exfat.googlecode.com/svn/trunk@379 60bc1c72-a15a-11de-b98f-4500b42dc123
Handle I/O error in exfat_flush().

git-svn-id: http://exfat.googlecode.com/svn/trunk@380 60bc1c72-a15a-11de-b98f-4500b42dc123
exfat: Recovery friendliness

 * We can't link this code with recovery due to the use of GPL, so let's
   build a multi-call binary to be space efficient.

Change-Id: I147e4a17422f0050426a8f996bdfeaf3f08feacf
Merge branch 'master' of http://exfat.googlecode.com/svn/trunk/ into cm-10.2

Change-Id: Iced8c56f8089a5b6dbfe913c23fb35c4a3c99b48
Merge remote-tracking branch 'remotes/cm/cm-10.2' into jb-4.3