diff options
| author | NeilBrown <[email protected]> | 2018-02-13 08:09:25 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-16 15:13:32 +0100 |
| commit | 057d1df6491220d28fdaa743bb98f4e6db1f849e (patch) | |
| tree | a06e8c4a6d28b6ef0dcbf93b3b7e94832831a9d8 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2cd466feccabd4f179971be11b1bcadaaed0cfb7 (diff) | |
staging: lustre: honor error code from ll_iget().
Commit 020ecc6f3229 ("staging: lustre: llite: Remove IS_ERR tests")
changed ll_prep_inode to assume any error from ll_iget() meant
-ENOMEM because at that time it only returned NULL for errors.
Commit c3397e7e677b ("staging: lustre: llite: add error handler in
inode prepare phase") changed ll_iget() to once again return
meaningful codes, but nobody told ll_prep_inode().
So change ll_prep_inode() back to using PTR_ERR(*inode).
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions