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
f786aa90
Commit
f786aa90
authored
Feb 20, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify dentry_operations: NFS
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
e56980d4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
fs/nfs/dir.c
fs/nfs/dir.c
+2
-2
fs/nfs/nfs4_fs.h
fs/nfs/nfs4_fs.h
+1
-1
include/linux/nfs_fs.h
include/linux/nfs_fs.h
+1
-1
include/linux/nfs_xdr.h
include/linux/nfs_xdr.h
+1
-1
No files found.
fs/nfs/dir.c
View file @
f786aa90
...
...
@@ -899,7 +899,7 @@ static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
iput
(
inode
);
}
struct
dentry_operations
nfs_dentry_operations
=
{
const
struct
dentry_operations
nfs_dentry_operations
=
{
.
d_revalidate
=
nfs_lookup_revalidate
,
.
d_delete
=
nfs_dentry_delete
,
.
d_iput
=
nfs_dentry_iput
,
...
...
@@ -967,7 +967,7 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, stru
#ifdef CONFIG_NFS_V4
static
int
nfs_open_revalidate
(
struct
dentry
*
,
struct
nameidata
*
);
struct
dentry_operations
nfs4_dentry_operations
=
{
const
struct
dentry_operations
nfs4_dentry_operations
=
{
.
d_revalidate
=
nfs_open_revalidate
,
.
d_delete
=
nfs_dentry_delete
,
.
d_iput
=
nfs_dentry_iput
,
...
...
fs/nfs/nfs4_fs.h
View file @
f786aa90
...
...
@@ -179,7 +179,7 @@ struct nfs4_state_recovery_ops {
int
(
*
recover_lock
)(
struct
nfs4_state
*
,
struct
file_lock
*
);
};
extern
struct
dentry_operations
nfs4_dentry_operations
;
extern
const
struct
dentry_operations
nfs4_dentry_operations
;
extern
const
struct
inode_operations
nfs4_dir_inode_operations
;
/* inode.c */
...
...
include/linux/nfs_fs.h
View file @
f786aa90
...
...
@@ -415,7 +415,7 @@ extern const struct inode_operations nfs_dir_inode_operations;
extern
const
struct
inode_operations
nfs3_dir_inode_operations
;
#endif
/* CONFIG_NFS_V3 */
extern
const
struct
file_operations
nfs_dir_operations
;
extern
struct
dentry_operations
nfs_dentry_operations
;
extern
const
struct
dentry_operations
nfs_dentry_operations
;
extern
void
nfs_force_lookup_revalidate
(
struct
inode
*
dir
);
extern
int
nfs_instantiate
(
struct
dentry
*
dentry
,
struct
nfs_fh
*
fh
,
struct
nfs_fattr
*
fattr
);
...
...
include/linux/nfs_xdr.h
View file @
f786aa90
...
...
@@ -785,7 +785,7 @@ struct nfs_access_entry;
*/
struct
nfs_rpc_ops
{
u32
version
;
/* Protocol version */
struct
dentry_operations
*
dentry_ops
;
const
struct
dentry_operations
*
dentry_ops
;
const
struct
inode_operations
*
dir_inode_ops
;
const
struct
inode_operations
*
file_inode_ops
;
...
...
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