git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fatfs: add UTC timestamp option
[safe/jmp/linux-2.6]
/
fs
/
fat
/
dir.c
diff --git
a/fs/fat/dir.c
b/fs/fat/dir.c
index
4c35477
..
cd4a016
100644
(file)
--- a/
fs/fat/dir.c
+++ b/
fs/fat/dir.c
@@
-1101,7
+1101,7
@@
int fat_alloc_new_dir(struct inode *dir, struct timespec *ts)
goto error_free;
}
- fat_date_unix2dos(ts->tv_sec, &time, &date);
+ fat_date_unix2dos(ts->tv_sec, &time, &date
, sbi->options.tz_utc
);
de = (struct msdos_dir_entry *)bhs[0]->b_data;
/* filling the new directory slots ("." and ".." entries) */