Re: [PATCH] FLEX_BG Kernel support.

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

 



On 9/10/07, Jose R. Santos <jrs@xxxxxxxxxx> wrote:
> @@ -1254,7 +1254,8 @@ static int ext4_check_descriptors (struct super_block * sb)
>
>         for (i = 0; i < sbi->s_groups_count; i++)
>         {
> -               if (i == sbi->s_groups_count - 1)
> +               if (i == sbi->s_groups_count - 1 || EXT4_HAS_INCOMPAT_FEATURE(sb,
> +                                       EXT4_FEATURE_INCOMPAT_FLEX_BG))
>                         last_block = ext4_blocks_count(sbi->s_es) - 1;

No need to check this featyre for every  group, once at the beginning
of the function is enough.

-
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