X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fpartitions%2Fatari.c;h=1f3572d5b755127ed2043a7329815687dff06f8e;hb=refs%2Fheads%2Fvserver;hp=192a6adfdefddb504616436969d24732203ff1f8;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/fs/partitions/atari.c b/fs/partitions/atari.c index 192a6adfd..1f3572d5b 100644 --- a/fs/partitions/atari.c +++ b/fs/partitions/atari.c @@ -88,7 +88,7 @@ int atari_partition(struct parsed_partitions *state, struct block_device *bdev) if (!xrs) { printk (" block %ld read failed\n", partsect); put_dev_sector(sect); - return 0; + return -1; } /* ++roman: sanity check: bit 0 of flg field must be set */