[PATCH 2/3] xfs: remove bitfield based superblock updates

Christoph Hellwig hch at infradead.org
Fri Sep 26 05:00:27 CDT 2014


> +	to->sb_uquotino = cpu_to_be64(from->sb_uquotino);
> +	if (xfs_sb_version_has_pquotino(from)) {
> +		to->sb_qflags = be16_to_cpu(from->sb_qflags);
> +		to->sb_gquotino = cpu_to_be64(from->sb_gquotino);
> +		to->sb_pquotino = cpu_to_be64(from->sb_pquotino);
> +		return;
> +	}

sparse complains that the be16_to_cpu should be a cpu_to_be16 for
sb_qflags..



More information about the xfs mailing list