[PATCH 1/2] xfs: fix endian warning in xlog_recover_get_buf_lsn()

Christoph Hellwig hch at infradead.org
Mon Sep 2 03:18:43 CDT 2013


On Mon, Sep 02, 2013 at 01:22:58PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> sparse reports:
> 
> fs/xfs/xfs_log_recover.c:2017:24: sparse: cast to restricted __be64
> 
> Because I used the wrong structure for the on-disk superblock cast
> in 50d5c8d ("xfs: check LSN ordering for v5 superblocks during
> recovery"). Fix it.
> 
> Reported-by: kbuild test robot
> Signed-off-by: Dave Chinner <dchinner at redhat.com>


Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list