X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Ffat%2Fnamei_msdos.c;h=e92e8158ebaf2b9215a5a8d8eebb6561a0a46275;hb=7decd1cb0305b97243f283fa7f4baf5fe613edeb;hp=c0a4d5cd99b233349cf5285133419b494b4f30f9;hpb=9e975dae2970d22557662761c8505ce9fd165684;p=linux-2.6-omap-h63xx.git diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index c0a4d5cd99b..e92e8158eba 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c @@ -247,7 +247,7 @@ static int msdos_add_entry(struct inode *dir, const unsigned char *name, if (is_hid) de.attr |= ATTR_HIDDEN; de.lcase = 0; - fat_date_unix2dos(ts->tv_sec, &time, &date, sbi->options.tz_utc); + fat_time_unix2fat(sbi, ts, &time, &date, NULL); de.cdate = de.adate = 0; de.ctime = 0; de.ctime_cs = 0;