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:
f6dfb4f
)
[PATCH] check_partition(): fix error check
author
suzuki
<suzuki@in.ibm.com>
Thu, 8 Mar 2007 04:41:24 +0000
(20:41 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 8 Mar 2007 15:38:22 +0000
(07:38 -0800)
Fix inverted check introduced in
57881dd9df40b76dc7fc6a0d13fd75f337accb32
"Fix
check_partition routines".
Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/partitions/check.c
patch
|
blob
|
history
diff --git
a/fs/partitions/check.c
b/fs/partitions/check.c
index 22d38ffc9ef0b892c65e8c380f6f6682bacb398a..e46d237b10f90c1d7f643244a7ffd1e44b40bbfe 100644
(file)
--- a/
fs/partitions/check.c
+++ b/
fs/partitions/check.c
@@
-180,7
+180,7
@@
check_partition(struct gendisk *hd, struct block_device *bdev)
}
if (res > 0)
return state;
- if (
!
err)
+ if (err)
/* The partition is unrecognized. So report I/O errors if there were any */
res = err;
if (!res)