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
/
llite
/
llite_nfs.c
diff --git
a/lustre/llite/llite_nfs.c
b/lustre/llite/llite_nfs.c
index
c51f5ef
..
7fef62a
100644
(file)
--- a/
lustre/llite/llite_nfs.c
+++ b/
lustre/llite/llite_nfs.c
@@
-127,7
+127,7
@@
ll_iget_for_nfs(struct super_block *sb, struct lu_fid *fid, struct lu_fid *paren
inode = search_inode_for_lustre(sb, fid);
if (IS_ERR(inode))
- RETURN(ERR_
PTR(PTR_ERR(inode)
));
+ RETURN(ERR_
CAST(inode
));
if (is_bad_inode(inode)) {
/* we didn't find the right inode.. */