Re: [PATCH -v2] ext4: rearrange initialization to fix EXT4FS_DEBUG

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

 



On Mon, Jul 14, 2014 at 10:04:47AM +0200, Lukáš Czerner wrote:
> > +	block = ext4_count_free_clusters(sb);
> > +	ext4_free_blocks_count_set(sbi->s_es, block);
> 
> 
> This does not seem right. block is in cluster units so we need to
> convert.
> 
> 	ext4_free_blocks_count_set(sbi->s_es, EXT4_C2B(sbi, blocks));
> 
> Otherwise it looks good to me.

Thanks, for catching this!   II've fixed up the patch on the ext4 git tree.

					- 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