[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080331235349.GE11828@mit.edu>
Date: Mon, 31 Mar 2008 19:53:49 -0400
From: Theodore Tso <tytso@....EDU>
To: linux-ext4@...r.kernel.org
Cc: Andreas Dilger <adilger@...ger.ca>
Subject: Re: [PATCH, E2FSPROGS] ext2fs_set_gdt_csum(): Return an error code
on errors instead of void
On Mon, Mar 31, 2008 at 07:36:27PM -0400, Theodore Ts'o wrote:
> From: Andreas Dilger <adilger@...ger.ca>
>
> Change the function signature so that ext2fs_set_gdt_csum() returns an
> error code.
>
> If the inode bitmap hasn't been loaded return EXT2_ET_NO_INODE_BITMAP.
This was a much safer way of handling the case where the inode bitmap
isn't loaded, instead of just forcing bg_itable_uninit to 0.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists