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
08f11513
Commit
08f11513
authored
Feb 20, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify dentry_operations: autofs, autofs4
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a488257c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
fs/autofs/root.c
fs/autofs/root.c
+1
-1
fs/autofs4/inode.c
fs/autofs4/inode.c
+1
-1
fs/autofs4/root.c
fs/autofs4/root.c
+2
-2
No files found.
fs/autofs/root.c
View file @
08f11513
...
...
@@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, struct nameidata *nd)
return
1
;
}
static
struct
dentry_operations
autofs_dentry_operations
=
{
static
const
struct
dentry_operations
autofs_dentry_operations
=
{
.
d_revalidate
=
autofs_revalidate
,
};
...
...
fs/autofs4/inode.c
View file @
08f11513
...
...
@@ -310,7 +310,7 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi)
return
ino
;
}
static
struct
dentry_operations
autofs4_sb_dentry_operations
=
{
static
const
struct
dentry_operations
autofs4_sb_dentry_operations
=
{
.
d_release
=
autofs4_dentry_release
,
};
...
...
fs/autofs4/root.c
View file @
08f11513
...
...
@@ -349,13 +349,13 @@ void autofs4_dentry_release(struct dentry *de)
}
/* For dentries of directories in the root dir */
static
struct
dentry_operations
autofs4_root_dentry_operations
=
{
static
const
struct
dentry_operations
autofs4_root_dentry_operations
=
{
.
d_revalidate
=
autofs4_revalidate
,
.
d_release
=
autofs4_dentry_release
,
};
/* For other dentries */
static
struct
dentry_operations
autofs4_dentry_operations
=
{
static
const
struct
dentry_operations
autofs4_dentry_operations
=
{
.
d_revalidate
=
autofs4_revalidate
,
.
d_release
=
autofs4_dentry_release
,
};
...
...
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