50 if (
likely(!NVolUsnJrnlStamped(vol))) {
55 page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0);
58 "$UsnJrnl/$DATA/$Max attribute.");
62 stamp = get_current_ntfs_time();
63 ntfs_debug(
"Stamping transaction log ($UsnJrnl): old "
64 "journal_id 0x%llx, old lowest_valid_usn "
65 "0x%llx, new journal_id 0x%llx, new "
66 "lowest_valid_usn 0x%llx.",
67 (
long long)sle64_to_cpu(uh->journal_id),
68 (
long long)sle64_to_cpu(uh->lowest_valid_usn),
69 (
long long)sle64_to_cpu(stamp),
70 i_size_read(vol->usnjrnl_j_ino));
71 uh->lowest_valid_usn =
72 cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino));
73 uh->journal_id =
stamp;
76 ntfs_unmap_page(page);
78 NVolSetUsnJrnlStamped(vol);