aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r--fs/udf/super.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 4d2ecee1970b..829ddfa5a148 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -945,12 +945,13 @@ static void udf_load_pvoldesc(struct super_block *sb, struct buffer_head *bh)
945 945
946 if (udf_disk_stamp_to_time(&UDF_SB(sb)->s_record_time, 946 if (udf_disk_stamp_to_time(&UDF_SB(sb)->s_record_time,
947 pvoldesc->recordingDateAndTime)) { 947 pvoldesc->recordingDateAndTime)) {
948 kernel_timestamp ts; 948#ifdef UDFFS_DEBUG
949 ts = lets_to_cpu(pvoldesc->recordingDateAndTime); 949 timestamp *ts = &pvoldesc->recordingDateAndTime;
950 udf_debug("recording time %04u/%02u/%02u" 950 udf_debug("recording time %04u/%02u/%02u"
951 " %02u:%02u (%x)\n", 951 " %02u:%02u (%x)\n",
952 ts.year, ts.month, ts.day, ts.hour, 952 le16_to_cpu(ts->year), ts->month, ts->day, ts->hour,
953 ts.minute, ts.typeAndTimezone); 953 ts->minute, le16_to_cpu(ts->typeAndTimezone));
954#endif
954 } 955 }
955 956
956 if (!udf_build_ustr(&instr, pvoldesc->volIdent, 32)) 957 if (!udf_build_ustr(&instr, pvoldesc->volIdent, 32))