diff options
Diffstat (limited to 'fs/ntfs/usnjrnl.c')
-rw-r--r-- | fs/ntfs/usnjrnl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ntfs/usnjrnl.c b/fs/ntfs/usnjrnl.c index 77773240d139..b2bc0d55b036 100644 --- a/fs/ntfs/usnjrnl.c +++ b/fs/ntfs/usnjrnl.c | |||
@@ -39,12 +39,12 @@ | |||
39 | * @vol: ntfs volume on which to stamp the transaction log | 39 | * @vol: ntfs volume on which to stamp the transaction log |
40 | * | 40 | * |
41 | * Stamp the transaction log ($UsnJrnl) on the ntfs volume @vol and return | 41 | * Stamp the transaction log ($UsnJrnl) on the ntfs volume @vol and return |
42 | * TRUE on success and FALSE on error. | 42 | * 'true' on success and 'false' on error. |
43 | * | 43 | * |
44 | * This function assumes that the transaction log has already been loaded and | 44 | * This function assumes that the transaction log has already been loaded and |
45 | * consistency checked by a call to fs/ntfs/super.c::load_and_init_usnjrnl(). | 45 | * consistency checked by a call to fs/ntfs/super.c::load_and_init_usnjrnl(). |
46 | */ | 46 | */ |
47 | BOOL ntfs_stamp_usnjrnl(ntfs_volume *vol) | 47 | bool ntfs_stamp_usnjrnl(ntfs_volume *vol) |
48 | { | 48 | { |
49 | ntfs_debug("Entering."); | 49 | ntfs_debug("Entering."); |
50 | if (likely(!NVolUsnJrnlStamped(vol))) { | 50 | if (likely(!NVolUsnJrnlStamped(vol))) { |
@@ -56,7 +56,7 @@ BOOL ntfs_stamp_usnjrnl(ntfs_volume *vol) | |||
56 | if (IS_ERR(page)) { | 56 | if (IS_ERR(page)) { |
57 | ntfs_error(vol->sb, "Failed to read from " | 57 | ntfs_error(vol->sb, "Failed to read from " |
58 | "$UsnJrnl/$DATA/$Max attribute."); | 58 | "$UsnJrnl/$DATA/$Max attribute."); |
59 | return FALSE; | 59 | return false; |
60 | } | 60 | } |
61 | uh = (USN_HEADER*)page_address(page); | 61 | uh = (USN_HEADER*)page_address(page); |
62 | stamp = get_current_ntfs_time(); | 62 | stamp = get_current_ntfs_time(); |
@@ -78,7 +78,7 @@ BOOL ntfs_stamp_usnjrnl(ntfs_volume *vol) | |||
78 | NVolSetUsnJrnlStamped(vol); | 78 | NVolSetUsnJrnlStamped(vol); |
79 | } | 79 | } |
80 | ntfs_debug("Done."); | 80 | ntfs_debug("Done."); |
81 | return TRUE; | 81 | return true; |
82 | } | 82 | } |
83 | 83 | ||
84 | #endif /* NTFS_RW */ | 84 | #endif /* NTFS_RW */ |