]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
authorEric Sandeen <sandeen@sandeen.net>
Mon, 5 Dec 2016 01:31:06 +0000 (12:31 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 5 Dec 2016 01:31:06 +0000 (12:31 +1100)
commit6b10b23ca94451fae153a5cc8d62fd721bec2019
tree9ec596b7d0688b9fcae2d37460c2f48c2040d51f
parentf782088c9e5d08e9494c63e68b4e85716df3e5f8
xfs: set AGI buffer type in xlog_recover_clear_agi_bucket

xlog_recover_clear_agi_bucket didn't set the
type to XFS_BLFT_AGI_BUF, so we got a warning during log
replay (or an ASSERT on a debug build).

    XFS (md0): Unknown buffer type 0!
    XFS (md0): _xfs_buf_ioapply: no ops on block 0xaea8802/0x1

Fix this, as was done in f19b872b for 2 other locations
with the same problem.

cc: <stable@vger.kernel.org> # 3.10 to current
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_recover.c