Arkadiusz has been seeing really strange crashes in xfs_qm_dqcheck that I can only explain by a log item beeing too smal to actually fit the xfs_dqblk_t we're dereferencing all over xfs_qm_dqcheck. S
Unfortunately this validation doesn't cover my case. I still got oops even with the patch applied 1). I also tried xfs debug enabled kernel 2) 1) oops with "[PATCH] xfs: validate quota log items duri
^^being too small^^ Shouldn't this differentiate between i_addr == NULL and i_len too small, though? While we're at it anyway... Maybe: + "XFS: dquot null addr (%p) or len too small (%d) in %s." + it
Thanks, corrected. I've split both into individual checks and used __func__ to print the function instead of hardconding it. Yeah, same action a a xfs_qm_dqcheck failure. Error handling here probably