diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2006-10-01 02:27:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:19 -0400 |
commit | c49c31115067bc7c9a51ffdc735a515151dfa3eb (patch) | |
tree | 1ffeddacb5cf06fbdb8a1fc385eb9ee5f1c3174c /fs/ntfs/attrib.h | |
parent | 6e21828743247270d09a86756a0c11702500dbfb (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/attrib.h')
-rw-r--r-- | fs/ntfs/attrib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ntfs/attrib.h b/fs/ntfs/attrib.h index 9074886b44ba..3c8b74c99b80 100644 --- a/fs/ntfs/attrib.h +++ b/fs/ntfs/attrib.h | |||
@@ -40,10 +40,10 @@ | |||
40 | * Structure must be initialized to zero before the first call to one of the | 40 | * Structure must be initialized to zero before the first call to one of the |
41 | * attribute search functions. Initialize @mrec to point to the mft record to | 41 | * attribute search functions. Initialize @mrec to point to the mft record to |
42 | * search, and @attr to point to the first attribute within @mrec (not necessary | 42 | * search, and @attr to point to the first attribute within @mrec (not necessary |
43 | * if calling the _first() functions), and set @is_first to TRUE (not necessary | 43 | * if calling the _first() functions), and set @is_first to 'true' (not necessary |
44 | * if calling the _first() functions). | 44 | * if calling the _first() functions). |
45 | * | 45 | * |
46 | * If @is_first is TRUE, the search begins with @attr. If @is_first is FALSE, | 46 | * If @is_first is 'true', the search begins with @attr. If @is_first is 'false', |
47 | * the search begins after @attr. This is so that, after the first call to one | 47 | * the search begins after @attr. This is so that, after the first call to one |
48 | * of the search attribute functions, we can call the function again, without | 48 | * of the search attribute functions, we can call the function again, without |
49 | * any modification of the search context, to automagically get the next | 49 | * any modification of the search context, to automagically get the next |
@@ -52,7 +52,7 @@ | |||
52 | typedef struct { | 52 | typedef struct { |
53 | MFT_RECORD *mrec; | 53 | MFT_RECORD *mrec; |
54 | ATTR_RECORD *attr; | 54 | ATTR_RECORD *attr; |
55 | BOOL is_first; | 55 | bool is_first; |
56 | ntfs_inode *ntfs_ino; | 56 | ntfs_inode *ntfs_ino; |
57 | ATTR_LIST_ENTRY *al_entry; | 57 | ATTR_LIST_ENTRY *al_entry; |
58 | ntfs_inode *base_ntfs_ino; | 58 | ntfs_inode *base_ntfs_ino; |
@@ -65,7 +65,7 @@ extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, | |||
65 | extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn); | 65 | extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn); |
66 | 66 | ||
67 | extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, | 67 | extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, |
68 | const BOOL write_locked); | 68 | const bool write_locked); |
69 | 69 | ||
70 | extern runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, | 70 | extern runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, |
71 | const VCN vcn, ntfs_attr_search_ctx *ctx); | 71 | const VCN vcn, ntfs_attr_search_ctx *ctx); |