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/index.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/index.h')
-rw-r--r-- | fs/ntfs/index.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ntfs/index.h b/fs/ntfs/index.h index 846a489e8692..8745469c3989 100644 --- a/fs/ntfs/index.h +++ b/fs/ntfs/index.h | |||
@@ -37,12 +37,12 @@ | |||
37 | * @entry: index entry (points into @ir or @ia) | 37 | * @entry: index entry (points into @ir or @ia) |
38 | * @data: index entry data (points into @entry) | 38 | * @data: index entry data (points into @entry) |
39 | * @data_len: length in bytes of @data | 39 | * @data_len: length in bytes of @data |
40 | * @is_in_root: TRUE if @entry is in @ir and FALSE if it is in @ia | 40 | * @is_in_root: 'true' if @entry is in @ir and 'false' if it is in @ia |
41 | * @ir: index root if @is_in_root and NULL otherwise | 41 | * @ir: index root if @is_in_root and NULL otherwise |
42 | * @actx: attribute search context if @is_in_root and NULL otherwise | 42 | * @actx: attribute search context if @is_in_root and NULL otherwise |
43 | * @base_ni: base inode if @is_in_root and NULL otherwise | 43 | * @base_ni: base inode if @is_in_root and NULL otherwise |
44 | * @ia: index block if @is_in_root is FALSE and NULL otherwise | 44 | * @ia: index block if @is_in_root is 'false' and NULL otherwise |
45 | * @page: page if @is_in_root is FALSE and NULL otherwise | 45 | * @page: page if @is_in_root is 'false' and NULL otherwise |
46 | * | 46 | * |
47 | * @idx_ni is the index inode this context belongs to. | 47 | * @idx_ni is the index inode this context belongs to. |
48 | * | 48 | * |
@@ -50,11 +50,11 @@ | |||
50 | * are the index entry data and its length in bytes, respectively. @data | 50 | * are the index entry data and its length in bytes, respectively. @data |
51 | * simply points into @entry. This is probably what the user is interested in. | 51 | * simply points into @entry. This is probably what the user is interested in. |
52 | * | 52 | * |
53 | * If @is_in_root is TRUE, @entry is in the index root attribute @ir described | 53 | * If @is_in_root is 'true', @entry is in the index root attribute @ir described |
54 | * by the attribute search context @actx and the base inode @base_ni. @ia and | 54 | * by the attribute search context @actx and the base inode @base_ni. @ia and |
55 | * @page are NULL in this case. | 55 | * @page are NULL in this case. |
56 | * | 56 | * |
57 | * If @is_in_root is FALSE, @entry is in the index allocation attribute and @ia | 57 | * If @is_in_root is 'false', @entry is in the index allocation attribute and @ia |
58 | * and @page point to the index allocation block and the mapped, locked page it | 58 | * and @page point to the index allocation block and the mapped, locked page it |
59 | * is in, respectively. @ir, @actx and @base_ni are NULL in this case. | 59 | * is in, respectively. @ir, @actx and @base_ni are NULL in this case. |
60 | * | 60 | * |
@@ -77,7 +77,7 @@ typedef struct { | |||
77 | INDEX_ENTRY *entry; | 77 | INDEX_ENTRY *entry; |
78 | void *data; | 78 | void *data; |
79 | u16 data_len; | 79 | u16 data_len; |
80 | BOOL is_in_root; | 80 | bool is_in_root; |
81 | INDEX_ROOT *ir; | 81 | INDEX_ROOT *ir; |
82 | ntfs_attr_search_ctx *actx; | 82 | ntfs_attr_search_ctx *actx; |
83 | ntfs_inode *base_ni; | 83 | ntfs_inode *base_ni; |