Re: [patch 2/4] ext4: fix error processing in mb_free_blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 12, 2008 at 11:26:20PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> From: Shen Feng <shen@xxxxxxxxxxxxxx>
> 
> The error processing of the return value of mb_free_blocks is meanless
> because it only returns 0.  This fix includes
> 
> - make mb_free_blocks return void
> 
> - remove the error processing part in callers
> 
> - unlock group before calling ext4_error in mb_free_blocks
> 
> Signed-off-by: Shen Feng <shen@xxxxxxxxxxxxxx>
> Cc: Mingming Cao <cmm@xxxxxxxxxx>
> Cc: Theodore Ts'o <tytso@xxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Thanks, applied.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux