Messages in this thread | | | Date | Sun, 19 Jan 2020 21:52:33 +0100 | From | Pali Rohár <> | Subject | Re: [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] | |