dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/fat
Jan Kara 58156c8fbf fat: provide option for setting timezone offset
So far FAT either offsets time stamps by sys_tz.minuteswest or leaves them
as they are (when tz=UTC mount option is used).  However in some cases it
is useful if one can specify time stamp offset on his own (e.g.  when time
zone of the camera connected is different from time zone of the computer,
or when HW clock is in UTC and thus sys_tz.minuteswest == 0).

So provide a mount option time_offset= which allows user to specify offset
in minutes that should be applied to time stamps on the filesystem.

akpm: this code would work incorrectly when used via `mount -o remount',
because cached inodes would not be updated.  But fatfs's fat_remount() is
basically a no-op anyway.

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-17 17:15:22 -08:00
..
Kconfig vfat: Note the NLS requirement 2009-04-17 09:32:11 -07:00
Makefile fat (exportfs): move NFS support code 2012-10-06 03:05:09 +09:00
cache.c fs/fat: fix two checkpatch issues in cache.c 2012-10-06 03:05:10 +09:00
dir.c fat: drop lock/unlock super 2012-10-09 23:33:38 -04:00
fat.h fat: provide option for setting timezone offset 2012-12-17 17:15:22 -08:00
fatent.c fat: no need to reset EOF in ent_put for FAT32 2012-10-06 03:05:12 +09:00
file.c userns: Convert fat to use kuid/kgid where appropriate 2012-09-20 06:11:55 -07:00
inode.c fat: provide option for setting timezone offset 2012-12-17 17:15:22 -08:00
misc.c fat: provide option for setting timezone offset 2012-12-17 17:15:22 -08:00
namei_msdos.c fat: drop lock/unlock super 2012-10-09 23:33:38 -04:00
namei_vfat.c fat: drop lock/unlock super 2012-10-09 23:33:38 -04:00
nfs.c fat (exportfs): fix dentry reconnection 2012-10-06 03:05:09 +09:00