fat: handle .. pointing back to the root directory
authorH. Peter Anvin <hpa@zytor.com>
Sun, 13 Jun 2010 21:18:23 +0000 (14:18 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 13 Jun 2010 21:18:23 +0000 (14:18 -0700)
commit1ea741be7aad4c77d4fd2a602c3669ac59f1db73
treea8965aab4e5d15b76e18185418bacf31d784fdef
parent92d1d619c033353a5e532b7118daee1a403f08ca
fat: handle .. pointing back to the root directory

.. pointing back to the root directory will have a cluster number of
0, even for FAT32 where there is an actual cluster number for the root
directory.  Handle this as a special case.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/fat/fat.c