diff options
author | Sudip Mukherjee <[email protected]> | 2016-01-21 16:40:36 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-21 17:20:51 -0800 |
commit | ff7d080e528d8faf5bc175fd9909889af03e1566 (patch) | |
tree | 19acc35320f42bab238da12f98ce2b603adccff4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c2594bc37f4464bc74f2c119eb3269a643400aa0 (diff) |
reiserfs: fix dereference of ERR_PTR
reiserfs_iget() returns either NULL or error code in ERR_PTR. And we
were only checking for NULL, so in case of some other error we will try
to dereference the ERR_PTR(-errno) thinking it to be a valid pointer.
Signed-off-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions