projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugfs: fix u32_array race in format_array_alloc
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
debugfs
/
inode.c
diff --git
a/fs/debugfs/inode.c
b/fs/debugfs/inode.c
index
d17c20f
..
4733eab
100644
(file)
--- a/
fs/debugfs/inode.c
+++ b/
fs/debugfs/inode.c
@@
-495,7
+495,7
@@
void debugfs_remove(struct dentry *dentry)
struct dentry *parent;
int ret;
- if (
!dentry
)
+ if (
IS_ERR_OR_NULL(dentry)
)
return;
parent = dentry->d_parent;
@@
-527,7
+527,7
@@
void debugfs_remove_recursive(struct dentry *dentry)
struct dentry *child;
struct dentry *parent;
- if (
!dentry
)
+ if (
IS_ERR_OR_NULL(dentry)
)
return;
parent = dentry->d_parent;