From: OGAWA Hirofumi Date: Thu, 6 Nov 2008 20:53:47 +0000 (-0800) Subject: fat: Fix and cleanup timestamp conversion X-Git-Tag: v2.6.28-rc4~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7decd1cb0305b97243f283fa7f4baf5fe613edeb;p=pandora-kernel.git fat: Fix and cleanup timestamp conversion This cleans date_dos2unix()/fat_date_unix2dos() up. New code should be much more readable. And this fixes those old functions. Those doesn't handle 2100 correctly. 2100 isn't leap year, but old one handles it as leap year. Also, with this, centi sec is handled and is fixed. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed