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
a713ca2a
Commit
a713ca2a
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
cc2a5271
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 @
a713ca2a
...
...
@@ -1919,7 +1919,7 @@ EXPORT_SYMBOL(d_lookup);
*
* __d_lookup callers must be commented.
*/
struct
dentry
*
__d_lookup
(
struct
dentry
*
parent
,
struct
qstr
*
name
)
struct
dentry
*
__d_lookup
(
const
struct
dentry
*
parent
,
const
struct
qstr
*
name
)
{
unsigned
int
len
=
name
->
len
;
unsigned
int
hash
=
name
->
hash
;
...
...
include/linux/dcache.h
View file @
a713ca2a
...
...
@@ -295,7 +295,7 @@ extern struct dentry *d_ancestor(struct dentry *, struct dentry *);
/* appendix may either be NULL or be used for transname suffixes */
extern
struct
dentry
*
d_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
d_hash_and_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup
(
struct
dentry
*
,
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup
(
const
struct
dentry
*
,
const
struct
qstr
*
);
extern
struct
dentry
*
__d_lookup_rcu
(
const
struct
dentry
*
parent
,
const
struct
qstr
*
name
,
unsigned
*
seq
,
struct
inode
*
inode
);
...
...
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