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
nexedi
linux
Commits
cd1c0c93
Commit
cd1c0c93
authored
7 years ago
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugfs_lookup(): switch to lookup_one_len_unlocked()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a03ece5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
fs/debugfs/inode.c
fs/debugfs/inode.c
+1
-4
No files found.
fs/debugfs/inode.c
View file @
cd1c0c93
...
@@ -270,10 +270,7 @@ struct dentry *debugfs_lookup(const char *name, struct dentry *parent)
...
@@ -270,10 +270,7 @@ struct dentry *debugfs_lookup(const char *name, struct dentry *parent)
if
(
!
parent
)
if
(
!
parent
)
parent
=
debugfs_mount
->
mnt_root
;
parent
=
debugfs_mount
->
mnt_root
;
inode_lock
(
d_inode
(
parent
));
dentry
=
lookup_one_len_unlocked
(
name
,
parent
,
strlen
(
name
));
dentry
=
lookup_one_len
(
name
,
parent
,
strlen
(
name
));
inode_unlock
(
d_inode
(
parent
));
if
(
IS_ERR
(
dentry
))
if
(
IS_ERR
(
dentry
))
return
NULL
;
return
NULL
;
if
(
!
d_really_is_positive
(
dentry
))
{
if
(
!
d_really_is_positive
(
dentry
))
{
...
...
This diff is collapsed.
Click to expand it.
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