projects
/
firefly-linux-kernel-4.4.55.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)
[firefly-linux-kernel-4.4.55.git]
/
fs
/
fat
/
inode.c
diff --git
a/fs/fat/inode.c
b/fs/fat/inode.c
index 24c0aaa5ae80d6de0cb876f554da57f2cca864b7..3a3d491bbcfe2b0e298cd020367b56914db8ea75 100644
(file)
--- a/
fs/fat/inode.c
+++ b/
fs/fat/inode.c
@@
-760,7
+760,7
@@
static struct dentry *fat_get_parent(struct dentry *child)
inode = fat_build_inode(child->d_sb, de, i_pos);
brelse(bh);
if (IS_ERR(inode)) {
- parent = ERR_
PTR(PTR_ERR(inode)
);
+ parent = ERR_
CAST(inode
);
goto out;
}
parent = d_alloc_anon(inode);