diff options
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/udftime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c index c2634bda6b50..85d8dbe843f1 100644 --- a/fs/udf/udftime.c +++ b/fs/udf/udftime.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | /* How many days come before each month (0-12). */ | 48 | /* How many days come before each month (0-12). */ |
49 | const unsigned short int __mon_yday[2][13] = | 49 | static const unsigned short int __mon_yday[2][13] = |
50 | { | 50 | { |
51 | /* Normal years. */ | 51 | /* Normal years. */ |
52 | { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, | 52 | { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }, |
@@ -103,7 +103,7 @@ udf_stamp_to_time(time_t *dest, long *dest_usec, kernel_timestamp src) | |||
103 | offset = 0; | 103 | offset = 0; |
104 | 104 | ||
105 | if ((src.year < EPOCH_YEAR) || | 105 | if ((src.year < EPOCH_YEAR) || |
106 | (src.year > EPOCH_YEAR+MAX_YEAR_SECONDS)) | 106 | (src.year >= EPOCH_YEAR+MAX_YEAR_SECONDS)) |
107 | { | 107 | { |
108 | *dest = -1; | 108 | *dest = -1; |
109 | *dest_usec = -1; | 109 | *dest_usec = -1; |