Identify root lock by comparing pointers, rather than looking for the
commit5f1353b08c65881ca436c94cc0826f3b54429f5e
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 14 Jul 2013 03:23:44 +0000 (14 03:23 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 14 Jul 2013 03:23:44 +0000 (14 03:23 +0000)
treeab9a2b3934ac3dba501a3a24c3bf7753d08bf66e
parent31ce5e6e9e6b31755bd83ba01303e47b3cd69830
Identify root lock by comparing pointers, rather than looking for the
FAT_ROOTDIR_MARK magic value. It has been reported that directories
created by some versions of Windows (e.g. 98) are misidentified as the
root directory, so FAT_ROOTDIR_MARK may be appearing coincidentally in
places it shouldn't.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47670 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/filesys/fat/direntry.c
rom/filesys/fat/main.c