Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3ba13d17
Commit
3ba13d17
authored
Feb 20, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify dentry_operations: rest
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
296c2d86
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+1
-1
fs/anon_inodes.c
fs/anon_inodes.c
+1
-1
fs/libfs.c
fs/libfs.c
+1
-1
fs/pipe.c
fs/pipe.c
+1
-1
kernel/cgroup.c
kernel/cgroup.c
+1
-1
net/socket.c
net/socket.c
+1
-1
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+1
-1
No files found.
arch/ia64/kernel/perfmon.c
View file @
3ba13d17
...
...
@@ -2196,7 +2196,7 @@ pfmfs_delete_dentry(struct dentry *dentry)
return
1
;
}
static
struct
dentry_operations
pfmfs_dentry_operations
=
{
static
const
struct
dentry_operations
pfmfs_dentry_operations
=
{
.
d_delete
=
pfmfs_delete_dentry
,
};
...
...
fs/anon_inodes.c
View file @
3ba13d17
...
...
@@ -48,7 +48,7 @@ static struct file_system_type anon_inode_fs_type = {
.
get_sb
=
anon_inodefs_get_sb
,
.
kill_sb
=
kill_anon_super
,
};
static
struct
dentry_operations
anon_inodefs_dentry_operations
=
{
static
const
struct
dentry_operations
anon_inodefs_dentry_operations
=
{
.
d_delete
=
anon_inodefs_delete_dentry
,
};
...
...
fs/libfs.c
View file @
3ba13d17
...
...
@@ -44,7 +44,7 @@ static int simple_delete_dentry(struct dentry *dentry)
*/
struct
dentry
*
simple_lookup
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
{
static
struct
dentry_operations
simple_dentry_operations
=
{
static
const
struct
dentry_operations
simple_dentry_operations
=
{
.
d_delete
=
simple_delete_dentry
,
};
...
...
fs/pipe.c
View file @
3ba13d17
...
...
@@ -870,7 +870,7 @@ static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry
->
d_inode
->
i_ino
);
}
static
struct
dentry_operations
pipefs_dentry_operations
=
{
static
const
struct
dentry_operations
pipefs_dentry_operations
=
{
.
d_delete
=
pipefs_delete_dentry
,
.
d_dname
=
pipefs_dname
,
};
...
...
kernel/cgroup.c
View file @
3ba13d17
...
...
@@ -1627,7 +1627,7 @@ static struct inode_operations cgroup_dir_inode_operations = {
static
int
cgroup_create_file
(
struct
dentry
*
dentry
,
int
mode
,
struct
super_block
*
sb
)
{
static
struct
dentry_operations
cgroup_dops
=
{
static
const
struct
dentry_operations
cgroup_dops
=
{
.
d_iput
=
cgroup_diput
,
};
...
...
net/socket.c
View file @
3ba13d17
...
...
@@ -328,7 +328,7 @@ static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry
->
d_inode
->
i_ino
);
}
static
struct
dentry_operations
sockfs_dentry_operations
=
{
static
const
struct
dentry_operations
sockfs_dentry_operations
=
{
.
d_delete
=
sockfs_delete_dentry
,
.
d_dname
=
sockfs_dname
,
};
...
...
net/sunrpc/rpc_pipe.c
View file @
3ba13d17
...
...
@@ -480,7 +480,7 @@ static int rpc_delete_dentry(struct dentry *dentry)
return
1
;
}
static
struct
dentry_operations
rpc_dentry_operations
=
{
static
const
struct
dentry_operations
rpc_dentry_operations
=
{
.
d_delete
=
rpc_delete_dentry
,
};
...
...
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