diff options
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index 933dbd89c2a4..2d3de9c89818 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
@@ -2301,7 +2301,7 @@ void ntfs_clear_big_inode(struct inode *vi) | |||
2301 | } | 2301 | } |
2302 | #ifdef NTFS_RW | 2302 | #ifdef NTFS_RW |
2303 | if (NInoDirty(ni)) { | 2303 | if (NInoDirty(ni)) { |
2304 | BOOL was_bad = (is_bad_inode(vi)); | 2304 | bool was_bad = (is_bad_inode(vi)); |
2305 | 2305 | ||
2306 | /* Committing the inode also commits all extent inodes. */ | 2306 | /* Committing the inode also commits all extent inodes. */ |
2307 | ntfs_commit_inode(vi); | 2307 | ntfs_commit_inode(vi); |
@@ -3015,7 +3015,7 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
3015 | MFT_RECORD *m; | 3015 | MFT_RECORD *m; |
3016 | STANDARD_INFORMATION *si; | 3016 | STANDARD_INFORMATION *si; |
3017 | int err = 0; | 3017 | int err = 0; |
3018 | BOOL modified = FALSE; | 3018 | bool modified = false; |
3019 | 3019 | ||
3020 | ntfs_debug("Entering for %sinode 0x%lx.", NInoAttr(ni) ? "attr " : "", | 3020 | ntfs_debug("Entering for %sinode 0x%lx.", NInoAttr(ni) ? "attr " : "", |
3021 | vi->i_ino); | 3021 | vi->i_ino); |
@@ -3057,7 +3057,7 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
3057 | sle64_to_cpu(si->last_data_change_time), | 3057 | sle64_to_cpu(si->last_data_change_time), |
3058 | (long long)sle64_to_cpu(nt)); | 3058 | (long long)sle64_to_cpu(nt)); |
3059 | si->last_data_change_time = nt; | 3059 | si->last_data_change_time = nt; |
3060 | modified = TRUE; | 3060 | modified = true; |
3061 | } | 3061 | } |
3062 | nt = utc2ntfs(vi->i_ctime); | 3062 | nt = utc2ntfs(vi->i_ctime); |
3063 | if (si->last_mft_change_time != nt) { | 3063 | if (si->last_mft_change_time != nt) { |
@@ -3066,7 +3066,7 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
3066 | sle64_to_cpu(si->last_mft_change_time), | 3066 | sle64_to_cpu(si->last_mft_change_time), |
3067 | (long long)sle64_to_cpu(nt)); | 3067 | (long long)sle64_to_cpu(nt)); |
3068 | si->last_mft_change_time = nt; | 3068 | si->last_mft_change_time = nt; |
3069 | modified = TRUE; | 3069 | modified = true; |
3070 | } | 3070 | } |
3071 | nt = utc2ntfs(vi->i_atime); | 3071 | nt = utc2ntfs(vi->i_atime); |
3072 | if (si->last_access_time != nt) { | 3072 | if (si->last_access_time != nt) { |
@@ -3075,7 +3075,7 @@ int ntfs_write_inode(struct inode *vi, int sync) | |||
3075 | (long long)sle64_to_cpu(si->last_access_time), | 3075 | (long long)sle64_to_cpu(si->last_access_time), |
3076 | (long long)sle64_to_cpu(nt)); | 3076 | (long long)sle64_to_cpu(nt)); |
3077 | si->last_access_time = nt; | 3077 | si->last_access_time = nt; |
3078 | modified = TRUE; | 3078 | modified = true; |
3079 | } | 3079 | } |
3080 | /* | 3080 | /* |
3081 | * If we just modified the standard information attribute we need to | 3081 | * If we just modified the standard information attribute we need to |