Re: [PATCH 1/3] ext4: sanity check the block and cluster size at mount time

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

 



On Fri, Nov 18, 2016 at 01:38:10AM -0700, Andreas Dilger wrote:
> > @@ -3567,7 +3567,15 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
> > 	if (blocksize < EXT4_MIN_BLOCK_SIZE ||
> > 	    blocksize > EXT4_MAX_BLOCK_SIZE) {
> > 		ext4_msg(sb, KERN_ERR,
> > -		       "Unsupported filesystem blocksize %d", blocksize);
> > +		       "Unsupported filesystem blocksize %d (%d)",
> 
> Would be good to indicate what the second value is, like "(%d bits)".

Good idea; I've annotated it as "log_block_size".

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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]