Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
56659e99
Commit
56659e99
authored
Jul 17, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: 'constify' lookup arguments.
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
365c8f58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
fs/nfs/nfs4_fs.h
fs/nfs/nfs4_fs.h
+1
-1
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+5
-5
No files found.
fs/nfs/nfs4_fs.h
View file @
56659e99
...
...
@@ -182,7 +182,7 @@ extern int nfs4_do_close(struct path *path, struct nfs4_state *state);
extern
struct
dentry
*
nfs4_atomic_open
(
struct
inode
*
,
struct
dentry
*
,
struct
nameidata
*
);
extern
int
nfs4_open_revalidate
(
struct
inode
*
,
struct
dentry
*
,
int
,
struct
nameidata
*
);
extern
int
nfs4_server_capabilities
(
struct
nfs_server
*
server
,
struct
nfs_fh
*
fhandle
);
extern
int
nfs4_proc_fs_locations
(
struct
inode
*
dir
,
struct
qstr
*
name
,
extern
int
nfs4_proc_fs_locations
(
struct
inode
*
dir
,
const
struct
qstr
*
name
,
struct
nfs4_fs_locations
*
fs_locations
,
struct
page
*
page
);
extern
struct
nfs4_state_recovery_ops
nfs4_reboot_recovery_ops
;
...
...
fs/nfs/nfs4proc.c
View file @
56659e99
...
...
@@ -1565,7 +1565,7 @@ static int nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle,
* Note that we'll actually follow the referral later when
* we detect fsid mismatch in inode revalidation
*/
static
int
nfs4_get_referral
(
struct
inode
*
dir
,
struct
qstr
*
name
,
struct
nfs_fattr
*
fattr
,
struct
nfs_fh
*
fhandle
)
static
int
nfs4_get_referral
(
struct
inode
*
dir
,
const
struct
qstr
*
name
,
struct
nfs_fattr
*
fattr
,
struct
nfs_fh
*
fhandle
)
{
int
status
=
-
ENOMEM
;
struct
page
*
page
=
NULL
;
...
...
@@ -1680,8 +1680,8 @@ nfs4_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
return
status
;
}
static
int
_nfs4_proc_lookupfh
(
struct
nfs_server
*
server
,
struct
nfs_fh
*
dirfh
,
struct
qstr
*
name
,
struct
nfs_fh
*
fhandle
,
static
int
_nfs4_proc_lookupfh
(
struct
nfs_server
*
server
,
const
struct
nfs_fh
*
dirfh
,
const
struct
qstr
*
name
,
struct
nfs_fh
*
fhandle
,
struct
nfs_fattr
*
fattr
)
{
int
status
;
...
...
@@ -1727,7 +1727,7 @@ static int nfs4_proc_lookupfh(struct nfs_server *server, struct nfs_fh *dirfh,
return
err
;
}
static
int
_nfs4_proc_lookup
(
struct
inode
*
dir
,
struct
qstr
*
name
,
static
int
_nfs4_proc_lookup
(
struct
inode
*
dir
,
const
struct
qstr
*
name
,
struct
nfs_fh
*
fhandle
,
struct
nfs_fattr
*
fattr
)
{
int
status
;
...
...
@@ -3684,7 +3684,7 @@ ssize_t nfs4_listxattr(struct dentry *dentry, char *buf, size_t buflen)
return
len
;
}
int
nfs4_proc_fs_locations
(
struct
inode
*
dir
,
struct
qstr
*
name
,
int
nfs4_proc_fs_locations
(
struct
inode
*
dir
,
const
struct
qstr
*
name
,
struct
nfs4_fs_locations
*
fs_locations
,
struct
page
*
page
)
{
struct
nfs_server
*
server
=
NFS_SERVER
(
dir
);
...
...
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