aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/usnjrnl.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2006-10-01 02:27:12 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:19 -0400
commitc49c31115067bc7c9a51ffdc735a515151dfa3eb (patch)
tree1ffeddacb5cf06fbdb8a1fc385eb9ee5f1c3174c /fs/ntfs/usnjrnl.c
parent6e21828743247270d09a86756a0c11702500dbfb (diff)
[PATCH] fs/ntfs: Conversion to generic boolean
Conversion of booleans to: generic-boolean.patch (2006-08-23) Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ntfs/usnjrnl.c')
-rw-r--r--fs/ntfs/usnjrnl.c8
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 */
47BOOL ntfs_stamp_usnjrnl(ntfs_volume *vol) 47bool 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 */