diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-02-04 12:15:04 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-02-05 10:34:22 -0500 |
commit | 2b8f942111b1be0ae4916de6a7c60658431269da (patch) | |
tree | c2bb3dc5e356831dc5e2cf6568f37551566f4440 /fs/udf | |
parent | b10a08194c2b615955dfab2300331a90ae9344c7 (diff) |
udf: use bool for done
variable 'done' is only used for true/false in loop.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 3d35a754293a..f169411c4ea0 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1599,7 +1599,7 @@ static noinline int udf_process_sequence( | |||
1599 | struct udf_vds_record *curr; | 1599 | struct udf_vds_record *curr; |
1600 | struct generic_desc *gd; | 1600 | struct generic_desc *gd; |
1601 | struct volDescPtr *vdp; | 1601 | struct volDescPtr *vdp; |
1602 | int done = 0; | 1602 | bool done = false; |
1603 | uint32_t vdsn; | 1603 | uint32_t vdsn; |
1604 | uint16_t ident; | 1604 | uint16_t ident; |
1605 | long next_s = 0, next_e = 0; | 1605 | long next_s = 0, next_e = 0; |
@@ -1680,7 +1680,7 @@ static noinline int udf_process_sequence( | |||
1680 | lastblock = next_e; | 1680 | lastblock = next_e; |
1681 | next_s = next_e = 0; | 1681 | next_s = next_e = 0; |
1682 | } else | 1682 | } else |
1683 | done = 1; | 1683 | done = true; |
1684 | break; | 1684 | break; |
1685 | } | 1685 | } |
1686 | brelse(bh); | 1686 | brelse(bh); |