projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac9bcd
)
udf: unsigned last[i] cannot be less than 0
author
roel kluin
<roel.kluin@gmail.com>
Wed, 29 Oct 2008 21:23:54 +0000
(17:23 -0400)
committer
Jan Kara
<jack@suse.cz>
Thu, 2 Apr 2009 10:29:50 +0000
(12:29 +0200)
unsigned last[i] cannot be less than 0
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c
patch
|
blob
|
history
diff --git
a/fs/udf/super.c
b/fs/udf/super.c
index 98d5455f77c771d42cec549390b8b034192ae90c..0368bf60f42b793fe531c50effaa94887350813c 100644
(file)
--- a/
fs/udf/super.c
+++ b/
fs/udf/super.c
@@
-746,8
+746,6
@@
static sector_t udf_scan_anchors(struct super_block *sb, sector_t lastblock)
* however, if the disc isn't closed, it could be 512 */
for (i = 0; i < ARRAY_SIZE(last); i++) {
- if (last[i] < 0)
- continue;
if (last[i] >= sb->s_bdev->bd_inode->i_size >>
sb->s_blocksize_bits)
continue;