summaryrefslogtreecommitdiffstats
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-02-04 18:15:04 +0100
committerJan Kara <jack@suse.cz>2015-02-05 16:34:22 +0100
commit2b8f942111b1be0ae4916de6a7c60658431269da (patch)
treec2bb3dc5e356831dc5e2cf6568f37551566f4440 /fs/udf/super.c
parentb10a08194c2b615955dfab2300331a90ae9344c7 (diff)
downloadop-kernel-dev-2b8f942111b1be0ae4916de6a7c60658431269da.zip
op-kernel-dev-2b8f942111b1be0ae4916de6a7c60658431269da.tar.gz
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/super.c')
-rw-r--r--fs/udf/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 3d35a75..f169411 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1599,7 +1599,7 @@ static noinline int udf_process_sequence(
struct udf_vds_record *curr;
struct generic_desc *gd;
struct volDescPtr *vdp;
- int done = 0;
+ bool done = false;
uint32_t vdsn;
uint16_t ident;
long next_s = 0, next_e = 0;
@@ -1680,7 +1680,7 @@ static noinline int udf_process_sequence(
lastblock = next_e;
next_s = next_e = 0;
} else
- done = 1;
+ done = true;
break;
}
brelse(bh);
OpenPOWER on IntegriCloud