[PATCH 2/3] xfs: remove bitfield based superblock updates
Dave Chinner
david at fromorbit.com
Fri Sep 26 18:02:35 CDT 2014
On Fri, Sep 26, 2014 at 03:00:27AM -0700, Christoph Hellwig wrote:
> > + 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..
Good catch. Fixed.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list