patch-2.1.126 linux/fs/ext2/balloc.c
Next file: linux/fs/ext2/ialloc.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Oct 12 11:35:42 1998
- Orig file:
v2.1.125/linux/fs/ext2/balloc.c
- Orig date:
Mon Sep 28 10:51:34 1998
diff -u --recursive --new-file v2.1.125/linux/fs/ext2/balloc.c linux/fs/ext2/balloc.c
@@ -86,11 +86,12 @@
{
struct ext2_group_desc * gdp;
struct buffer_head * bh = NULL;
- int retval = 0;
+ int retval = -EIO;
gdp = ext2_get_group_desc (sb, block_group, NULL);
if (!gdp)
goto error_out;
+ retval = 0;
bh = bread (sb->s_dev, le32_to_cpu(gdp->bg_block_bitmap), sb->s_blocksize);
if (!bh) {
ext2_error (sb, "read_block_bitmap",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov