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
6f3fc107
Commit
6f3fc107
authored
May 14, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
orangefs: constify inode_operations
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
90090ae6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
fs/orangefs/inode.c
fs/orangefs/inode.c
+1
-1
fs/orangefs/namei.c
fs/orangefs/namei.c
+1
-1
fs/orangefs/orangefs-kernel.h
fs/orangefs/orangefs-kernel.h
+3
-3
fs/orangefs/symlink.c
fs/orangefs/symlink.c
+1
-1
No files found.
fs/orangefs/inode.c
View file @
6f3fc107
...
@@ -294,7 +294,7 @@ int orangefs_permission(struct inode *inode, int mask)
...
@@ -294,7 +294,7 @@ int orangefs_permission(struct inode *inode, int mask)
}
}
/* ORANGEDS2 implementation of VFS inode operations for files */
/* ORANGEDS2 implementation of VFS inode operations for files */
struct
inode_operations
orangefs_file_inode_operations
=
{
const
struct
inode_operations
orangefs_file_inode_operations
=
{
.
get_acl
=
orangefs_get_acl
,
.
get_acl
=
orangefs_get_acl
,
.
set_acl
=
orangefs_set_acl
,
.
set_acl
=
orangefs_set_acl
,
.
setattr
=
orangefs_setattr
,
.
setattr
=
orangefs_setattr
,
...
...
fs/orangefs/namei.c
View file @
6f3fc107
...
@@ -438,7 +438,7 @@ static int orangefs_rename(struct inode *old_dir,
...
@@ -438,7 +438,7 @@ static int orangefs_rename(struct inode *old_dir,
}
}
/* ORANGEFS implementation of VFS inode operations for directories */
/* ORANGEFS implementation of VFS inode operations for directories */
struct
inode_operations
orangefs_dir_inode_operations
=
{
const
struct
inode_operations
orangefs_dir_inode_operations
=
{
.
lookup
=
orangefs_lookup
,
.
lookup
=
orangefs_lookup
,
.
get_acl
=
orangefs_get_acl
,
.
get_acl
=
orangefs_get_acl
,
.
set_acl
=
orangefs_set_acl
,
.
set_acl
=
orangefs_set_acl
,
...
...
fs/orangefs/orangefs-kernel.h
View file @
6f3fc107
...
@@ -570,10 +570,10 @@ extern int hash_table_size;
...
@@ -570,10 +570,10 @@ extern int hash_table_size;
extern
const
struct
address_space_operations
orangefs_address_operations
;
extern
const
struct
address_space_operations
orangefs_address_operations
;
extern
struct
backing_dev_info
orangefs_backing_dev_info
;
extern
struct
backing_dev_info
orangefs_backing_dev_info
;
extern
struct
inode_operations
orangefs_file_inode_operations
;
extern
const
struct
inode_operations
orangefs_file_inode_operations
;
extern
const
struct
file_operations
orangefs_file_operations
;
extern
const
struct
file_operations
orangefs_file_operations
;
extern
struct
inode_operations
orangefs_symlink_inode_operations
;
extern
const
struct
inode_operations
orangefs_symlink_inode_operations
;
extern
struct
inode_operations
orangefs_dir_inode_operations
;
extern
const
struct
inode_operations
orangefs_dir_inode_operations
;
extern
const
struct
file_operations
orangefs_dir_operations
;
extern
const
struct
file_operations
orangefs_dir_operations
;
extern
const
struct
dentry_operations
orangefs_dentry_operations
;
extern
const
struct
dentry_operations
orangefs_dentry_operations
;
extern
const
struct
file_operations
orangefs_devreq_file_operations
;
extern
const
struct
file_operations
orangefs_devreq_file_operations
;
...
...
fs/orangefs/symlink.c
View file @
6f3fc107
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include "orangefs-kernel.h"
#include "orangefs-kernel.h"
#include "orangefs-bufmap.h"
#include "orangefs-bufmap.h"
struct
inode_operations
orangefs_symlink_inode_operations
=
{
const
struct
inode_operations
orangefs_symlink_inode_operations
=
{
.
readlink
=
generic_readlink
,
.
readlink
=
generic_readlink
,
.
get_link
=
simple_get_link
,
.
get_link
=
simple_get_link
,
.
setattr
=
orangefs_setattr
,
.
setattr
=
orangefs_setattr
,
...
...
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