lkml.org 
[lkml]   [2020]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v11 02/14] exfat: add super block operations
On Sunday 19 January 2020 00:03:36 Namjae Jeon wrote:
> + case Opt_time_offset:
> + /*
> + * GMT+-12 zones may have DST corrections so at least
> + * 13 hours difference is needed. Make the limit 24
> + * just in case someone invents something unusual.
> + */
> + if (result.int_32 < -24 * 60 || result.int_32 > 24 * 60)
> + return -EINVAL;
> + opts->time_offset = result.int_32;
> + break;

"13 hours difference is needed"

This is not truth :-) Every traveller knows that Kiribati has only
standard time and is in GMT+14 time zone.

But limit ±24 is enough, at least for now.

--
Pali Rohár
pali.rohar@gmail.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-01-19 21:53    [W:0.098 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site