diff options
author | Jim Rees <[email protected]> | 2011-09-22 21:50:08 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2011-10-18 09:08:11 -0700 |
commit | 516f2e24faa7548a61d9ba790958528469c2e284 (patch) | |
tree | d4aa8a2fe75ada9a1af5257be8d14cb3b13fef65 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 2da956523526e440ef4f4dd174e26f5ac06fe011 (diff) |
pnfsblock: fix return code confusion
Always return PTR_ERR, not NULL, from nfs4_blk_get_deviceinfo and
nfs4_blk_decode_device.
Check for IS_ERR, not NULL, in bl_set_layoutdriver when calling
nfs4_blk_get_deviceinfo.
Signed-off-by: Jim Rees <[email protected]>
Signed-off-by: Benny Halevy <[email protected]>
Cc: [email protected] [3.0]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions