On Wed, Jan 11, 2017 at 10:24:08AM +0200, Amir Goldstein wrote: > The size of the xfs_mode_to_ftype[] conversion table > was too small to handle an invalid value of mode=S_IFMT. > > Instead of fixing the table size, replace the conversion table > with a conversion helper that uses a switch statement. > > Suggested-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> Looks fine, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html