Prior to v3.17, XFS used positive error codes internally. Commits backported from later releases need the error code signs reversed. Negative error codes will cause assertion failures (BUG_ON on kernels with assertions enabled. Cc: <stable@xxxxxxxxxxxxxxx> # v3.12-v3.16 Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx> --- fs/xfs/xfs_inode_buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/xfs/xfs_inode_buf.c +++ b/fs/xfs/xfs_inode_buf.c @@ -101,7 +101,7 @@ xfs_inode_buf_verify( XFS_RANDOM_ITOBP_INOTOBP))) { if (readahead) { bp->b_flags &= ~XBF_DONE; - xfs_buf_ioerror(bp, -EIO); + xfs_buf_ioerror(bp, EIO); return; } -- Jeff Mahoney SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html