diff options
author | Geyslan G. Bem <geyslan@gmail.com> | 2013-10-30 21:01:00 (GMT) |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-10-30 21:01:00 (GMT) |
commit | 643f7c4e5656bd18c769211f933190f7bb738245 (patch) | |
tree | 3231df34cf7dd872422a9191fc4b1430cff6927c /drivers/ata/libahci.c | |
parent | 5bf1f439c89d4653f8cc8f8aa303e0d6991aba4b (diff) | |
download | linux-643f7c4e5656bd18c769211f933190f7bb738245.tar.xz |
xfs: fix possible NULL dereference in xlog_verify_iclog
In xlog_verify_iclog a debug check of the incore log buffers prints an
error if icptr is null and then goes on to dereference the pointer
regardless. Convert this to an assert so that the intention is clear.
This was reported by Coverty.
Signed-off-by: Ben Myers <bpm@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'drivers/ata/libahci.c')
0 files changed, 0 insertions, 0 deletions