Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
acc29fb8
Commit
acc29fb8
authored
May 29, 2016
by
Al Viro
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugfs: ->d_parent is never NULL or negative
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
bf130914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
fs/debugfs/inode.c
fs/debugfs/inode.c
+0
-7
No files found.
fs/debugfs/inode.c
View file @
acc29fb8
...
...
@@ -621,9 +621,6 @@ void debugfs_remove(struct dentry *dentry)
return
;
parent
=
dentry
->
d_parent
;
if
(
!
parent
||
d_really_is_negative
(
parent
))
return
;
inode_lock
(
d_inode
(
parent
));
ret
=
__debugfs_remove
(
dentry
,
parent
);
inode_unlock
(
d_inode
(
parent
));
...
...
@@ -654,10 +651,6 @@ void debugfs_remove_recursive(struct dentry *dentry)
if
(
IS_ERR_OR_NULL
(
dentry
))
return
;
parent
=
dentry
->
d_parent
;
if
(
!
parent
||
d_really_is_negative
(
parent
))
return
;
parent
=
dentry
;
down:
inode_lock
(
d_inode
(
parent
));
...
...
Kirill Smelkov
@kirr
mentioned in commit
b5b80953
·
Feb 26, 2017
mentioned in commit
b5b80953
mentioned in commit b5b809532e7b070374d98c90f8f423c63f3655f5
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment