Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13723 lustre: Convert ERR_PTR(PTR_ERR()) to ERR_CAST()
[fs/lustre-release.git]
/
lustre
/
obdclass
/
dt_object.c
diff --git
a/lustre/obdclass/dt_object.c
b/lustre/obdclass/dt_object.c
index
d334398
..
e14f216
100644
(file)
--- a/
lustre/obdclass/dt_object.c
+++ b/
lustre/obdclass/dt_object.c
@@
-234,7
+234,7
@@
struct dt_object *dt_locate_at(const struct lu_env *env,
lo = lu_object_find_at(env, top_dev, fid, conf);
if (IS_ERR(lo))
- return ERR_
PTR(PTR_ERR(lo)
);
+ return ERR_
CAST(lo
);
LASSERT(lo != NULL);