projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
vfat
/
namei.c
diff --git
a/fs/vfat/namei.c
b/fs/vfat/namei.c
index c28add2fbe95eebce0ec79de64e8389be793ea26..cd450bea9f1a179220364e9d42e48561a4d860a1 100644
(file)
--- a/
fs/vfat/namei.c
+++ b/
fs/vfat/namei.c
@@
-705,7
+705,7
@@
static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry,
brelse(sinfo.bh);
if (IS_ERR(inode)) {
unlock_kernel();
- return ERR_
PTR(PTR_ERR(inode)
);
+ return ERR_
CAST(inode
);
}
alias = d_find_alias(inode);
if (alias) {