diff options
author | 2015-03-25 14:54:25 +1100 | |
---|---|---|
committer | 2015-03-25 14:54:25 +1100 | |
commit | b26384dc52edba2f5fcc2b38eccc98e1f44bb379 (patch) | |
tree | b2a82b58703fa68c9ab9a3175fa86006b0bb3efc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: remove xfs_bmap_sanity_check() (diff) | |
download | linux-dev-b26384dc52edba2f5fcc2b38eccc98e1f44bb379.tar.xz linux-dev-b26384dc52edba2f5fcc2b38eccc98e1f44bb379.zip |
xfs: fix NULL pointer dereference in xfs_filestream_lookup_ag()
If xfs_filestream_get_parent() fails, we have a null pip,
goto out, and attempt to IRELE(NULL). This causes a null
pointer dereference and BUG().
Fix this by directly returning NULLAGNUMBER in this case.
Reported-by: Adrien Nader <adrien@notk.org>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions