aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2016-08-26 06:01:30 +0000
committerDave Chinner <[email protected]>2016-08-26 06:01:30 +0000
commitf3d7ebdeb2c297bd26272384e955033493ca291c (patch)
tree4624588ed7a3669e29a67e7e0e0f67770c5795d7 /net/switchdev/switchdev.c
parentxfs: simple btree query range should look right if LE lookup fails (diff)
downloadkernel-f3d7ebdeb2c297bd26272384e955033493ca291c.tar.gz
kernel-f3d7ebdeb2c297bd26272384e955033493ca291c.zip
xfs: fix superblock inprogress check
From inspection, the superblock sb_inprogress check is done in the verifier and triggered only for the primary superblock via a "bp->b_bn == XFS_SB_DADDR" check. Unfortunately, the primary superblock is an uncached buffer, and hence it is configured by xfs_buf_read_uncached() with: bp->b_bn = XFS_BUF_DADDR_NULL; /* always null for uncached buffers */ And so this check never triggers. Fix it. cc: <[email protected]> Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions