diff options
author | 2011-08-03 02:18:29 +0000 | |
---|---|---|
committer | 2011-08-12 13:39:29 -0500 | |
commit | ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac (patch) | |
tree | 6a39e3be9bcf99cddc0ce0b0ed15aac794b527f8 /tools/perf/scripts/python/syscall-counts.py | |
parent | "xfs: fix error handling for synchronous writes" revisited (diff) | |
download | linux-dev-ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac.tar.xz linux-dev-ac4d6888b21a8be373f3e06f1d4011fbe2bbbeac.zip |
xfs: Check the return value of xfs_buf_read() for NULL
Check the return value of xfs_buf_read() for NULL and return ENOMEM
if it is NULL. This is necessary in a few spots to avoid subsequent
code blindly dereferencing the null buffer pointer.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions