]> Pileus Git - ~andy/linux/commit
xfs: fix endian warning in xlog_recover_get_buf_lsn()
authorDave Chinner <dchinner@redhat.com>
Mon, 2 Sep 2013 03:22:58 +0000 (13:22 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 9 Sep 2013 21:42:48 +0000 (16:42 -0500)
commite9fbbad8d8b2cbd6df7f237e0b4de02d63837ce1
tree6e40e3bac508dc0ae77af8531ba085933d602503
parent1d03c6fa88af35e55047a1f2ab116f0fdf2f55aa
xfs: fix endian warning in xlog_recover_get_buf_lsn()

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@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_log_recover.c