Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-seco-intel
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicola Sparnacci
linux-seco-intel
Commits
c7427d23
Commit
c7427d23
authored
13 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
autofs4: bogus dentry_unhash() added in ->unlink()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3cebde24
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fs/autofs4/root.c
+0
-2
0 additions, 2 deletions
fs/autofs4/root.c
with
0 additions
and
2 deletions
fs/autofs4/root.c
+
0
−
2
View file @
c7427d23
...
...
@@ -583,8 +583,6 @@ static int autofs4_dir_unlink(struct inode *dir, struct dentry *dentry)
if
(
!
autofs4_oz_mode
(
sbi
)
&&
!
capable
(
CAP_SYS_ADMIN
))
return
-
EACCES
;
dentry_unhash
(
dentry
);
if
(
atomic_dec_and_test
(
&
ino
->
count
))
{
p_ino
=
autofs4_dentry_ino
(
dentry
->
d_parent
);
if
(
p_ino
&&
dentry
->
d_parent
!=
dentry
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment