Skip to content
Commit a513d869 authored by Jan Kara's avatar Jan Kara Committed by Linus Torvalds
Browse files

fat: allow time_offset to be up to 24 hours



Currently we limit values of time_offset mount option to be between -12
and 12 hours.  However e.g.  zone GMT+12 can have a DST correction on top
which makes the total time difference 13 hours.  Update the checks in
mount option parsing to allow offset of upto 24 hours to allow for unusual
cases.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Reported-by: default avatarVolker Kuhlmann <list0570@paradise.net.nz>
Acked-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2c35dea2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment