Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318198
b: refs/heads/master
c: a59d629
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jun 13, 2012
1 parent 8e4c73c commit e93940e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0998d0631001288a5974afc0b2a5f568bcdecb4d
refs/heads/master: a59d6293e5372d7c35212932e083e2a541151eff
4 changes: 2 additions & 2 deletions trunk/fs/debugfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,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;
Expand Down Expand Up @@ -530,7 +530,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;
Expand Down

0 comments on commit e93940e

Please sign in to comment.