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
8ac24680
Commit
8ac24680
authored
May 26, 2003
by
Rusty Russell
Committed by
Linus Torvalds
May 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fs_autofs4_root.c unused variable
From: Rusty Russell <rusty@rustcorp.com.au> Trivial unused var...
parent
187b20db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
fs/autofs4/root.c
fs/autofs4/root.c
+0
-3
No files found.
fs/autofs4/root.c
View file @
8ac24680
...
@@ -147,7 +147,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
...
@@ -147,7 +147,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
{
{
struct
inode
*
dir
=
dentry
->
d_parent
->
d_inode
;
struct
inode
*
dir
=
dentry
->
d_parent
->
d_inode
;
struct
autofs_sb_info
*
sbi
=
autofs4_sbi
(
dir
->
i_sb
);
struct
autofs_sb_info
*
sbi
=
autofs4_sbi
(
dir
->
i_sb
);
struct
autofs_info
*
ino
;
int
oz_mode
=
autofs4_oz_mode
(
sbi
);
int
oz_mode
=
autofs4_oz_mode
(
sbi
);
/* Pending dentry */
/* Pending dentry */
...
@@ -162,8 +161,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
...
@@ -162,8 +161,6 @@ static int autofs4_root_revalidate(struct dentry * dentry, int flags)
if
(
dentry
->
d_inode
==
NULL
)
if
(
dentry
->
d_inode
==
NULL
)
return
(
dentry
->
d_time
-
jiffies
<=
AUTOFS_NEGATIVE_TIMEOUT
);
return
(
dentry
->
d_time
-
jiffies
<=
AUTOFS_NEGATIVE_TIMEOUT
);
ino
=
autofs4_dentry_ino
(
dentry
);
/* Check for a non-mountpoint directory with no contents */
/* Check for a non-mountpoint directory with no contents */
spin_lock
(
&
dcache_lock
);
spin_lock
(
&
dcache_lock
);
if
(
S_ISDIR
(
dentry
->
d_inode
->
i_mode
)
&&
if
(
S_ISDIR
(
dentry
->
d_inode
->
i_mode
)
&&
...
...
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