patch-2.3.41 linux/fs/hpfs/hpfs_fn.h
Next file: linux/fs/inode.c
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Jan 25 11:37:21 2000
- Orig file:
v2.3.40/linux/fs/hpfs/hpfs_fn.h
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.40/linux/fs/hpfs/hpfs_fn.h linux/fs/hpfs/hpfs_fn.h
@@ -64,13 +64,13 @@
extern inline time_t local_to_gmt(struct super_block *s, time_t t)
{
extern struct timezone sys_tz;
- return t + sys_tz.tz_minuteswest * 60 - (sys_tz.tz_dsttime ? 3600 : 0) +s->s_hpfs_timeshift;
+ return t + sys_tz.tz_minuteswest * 60 + s->s_hpfs_timeshift;
}
extern inline time_t gmt_to_local(struct super_block *s, time_t t)
{
extern struct timezone sys_tz;
- return t - sys_tz.tz_minuteswest * 60 + (sys_tz.tz_dsttime ? 3600 : 0) -s->s_hpfs_timeshift;
+ return t - sys_tz.tz_minuteswest * 60 - s->s_hpfs_timeshift;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)