diff options
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index cfca17384115..7ae647c640bb 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -2518,18 +2518,18 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
2518 | nt = utc2ntfs(vi->i_mtime); | 2518 | nt = utc2ntfs(vi->i_mtime); |
2519 | if (si->last_data_change_time != nt) { | 2519 | if (si->last_data_change_time != nt) { |
2520 | ntfs_debug("Updating mtime for inode 0x%lx: old = 0x%llx, " | 2520 | ntfs_debug("Updating mtime for inode 0x%lx: old = 0x%llx, " |
2521 | "new = 0x%llx", vi->i_ino, | 2521 | "new = 0x%llx", vi->i_ino, (long long) |
2522 | sle64_to_cpu(si->last_data_change_time), | 2522 | sle64_to_cpu(si->last_data_change_time), |
2523 | sle64_to_cpu(nt)); | 2523 | (long long)sle64_to_cpu(nt)); |
2524 | si->last_data_change_time = nt; | 2524 | si->last_data_change_time = nt; |
2525 | modified = TRUE; | 2525 | modified = TRUE; |
2526 | } | 2526 | } |
2527 | nt = utc2ntfs(vi->i_ctime); | 2527 | nt = utc2ntfs(vi->i_ctime); |
2528 | if (si->last_mft_change_time != nt) { | 2528 | if (si->last_mft_change_time != nt) { |
2529 | ntfs_debug("Updating ctime for inode 0x%lx: old = 0x%llx, " | 2529 | ntfs_debug("Updating ctime for inode 0x%lx: old = 0x%llx, " |
2530 | "new = 0x%llx", vi->i_ino, | 2530 | "new = 0x%llx", vi->i_ino, (long long) |
2531 | sle64_to_cpu(si->last_mft_change_time), | 2531 | sle64_to_cpu(si->last_mft_change_time), |
2532 | sle64_to_cpu(nt)); | 2532 | (long long)sle64_to_cpu(nt)); |
2533 | si->last_mft_change_time = nt; | 2533 | si->last_mft_change_time = nt; |
2534 | modified = TRUE; | 2534 | modified = TRUE; |
2535 | } | 2535 | } |
@@ -2537,8 +2537,8 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
2537 | if (si->last_access_time != nt) { | 2537 | if (si->last_access_time != nt) { |
2538 | ntfs_debug("Updating atime for inode 0x%lx: old = 0x%llx, " | 2538 | ntfs_debug("Updating atime for inode 0x%lx: old = 0x%llx, " |
2539 | "new = 0x%llx", vi->i_ino, | 2539 | "new = 0x%llx", vi->i_ino, |
2540 | sle64_to_cpu(si->last_access_time), | 2540 | (long long)sle64_to_cpu(si->last_access_time), |
2541 | sle64_to_cpu(nt)); | 2541 | (long long)sle64_to_cpu(nt)); |
2542 | si->last_access_time = nt; | 2542 | si->last_access_time = nt; |
2543 | modified = TRUE; | 2543 | modified = TRUE; |
2544 | } | 2544 | } |