Improvements to error handling:
commitca5208c54b8bf117ad69a10b59f99f12baaafe39
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 2 Aug 2015 04:58:26 +0000 (2 04:58 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 2 Aug 2015 04:58:26 +0000 (2 04:58 +0000)
treed07e9c5cde9d1920d1da46806f2afa6bfad5076c
parent52bf3c93151151d11f73764fb52bad91249da5a8
Improvements to error handling:
 - Stopped mixing DOS and Exec error codes!
 - Avoid dereferencing null pointers in FAT entry functions if FAT
   blocks can't be read.
 - Return a success indication from FAT-entry-setting functions.
 - Handle failure to allocate cache and FAT buffers.
 - Flush buffers to disk immediately after formatting and check it succeeds.
 - Show DOS device name in requesters if volume name is unknown.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50974 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/filesys/fat/cache.c
rom/filesys/fat/cache.h
rom/filesys/fat/disk.c
rom/filesys/fat/fat.c
rom/filesys/fat/fat.conf
rom/filesys/fat/fat_fs.h