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
da2d8455
Commit
da2d8455
authored
Jan 24, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify d_lookup() arguments
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a713ca2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/dcache.c
fs/dcache.c
+1
-1
include/linux/dcache.h
include/linux/dcache.h
+1
-1
No files found.
fs/dcache.c
View file @
da2d8455
...
@@ -1889,7 +1889,7 @@ struct dentry *__d_lookup_rcu(const struct dentry *parent,
...
@@ -1889,7 +1889,7 @@ struct dentry *__d_lookup_rcu(const struct dentry *parent,
* dentry is returned. The caller must use dput to free the entry when it has
* dentry is returned. The caller must use dput to free the entry when it has
* finished using it. %NULL is returned if the dentry does not exist.
* finished using it. %NULL is returned if the dentry does not exist.
*/
*/
struct
dentry
*
d_lookup
(
struct
dentry
*
parent
,
struct
qstr
*
name
)
struct
dentry
*
d_lookup
(
const
struct
dentry
*
parent
,
const
struct
qstr
*
name
)
{
{
struct
dentry
*
dentry
;
struct
dentry
*
dentry
;
unsigned
seq
;
unsigned
seq
;
...
...
include/linux/dcache.h
View file @
da2d8455
...
@@ -293,7 +293,7 @@ extern void d_move(struct dentry *, struct dentry *);
...
@@ -293,7 +293,7 @@ extern void d_move(struct dentry *, struct dentry *);
extern
struct
dentry
*
d_ancestor
(
struct
dentry
*
,
struct
dentry
*
);
extern
struct
dentry
*
d_ancestor
(
struct
dentry
*
,
struct
dentry
*
);
/* appendix may either be NULL or be used for transname suffixes */
/* appendix may either be NULL or be used for transname suffixes */
extern
struct
dentry
*
d_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
d_lookup
(
const
struct
dentry
*
,
const
struct
qstr
*
);
extern
struct
dentry
*
d_hash_and_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
d_hash_and_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup
(
const
struct
dentry
*
,
const
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup
(
const
struct
dentry
*
,
const
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup_rcu
(
const
struct
dentry
*
parent
,
extern
struct
dentry
*
__d_lookup_rcu
(
const
struct
dentry
*
parent
,
...
...
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