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
966c1f75
Commit
966c1f75
authored
Sep 29, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
isofs: don't pass dentry to isofs_hash{i,}_common()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
719ea2fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fs/isofs/inode.c
fs/isofs/inode.c
+6
-6
No files found.
fs/isofs/inode.c
View file @
966c1f75
...
@@ -181,7 +181,7 @@ struct iso9660_options{
...
@@ -181,7 +181,7 @@ struct iso9660_options{
* Compute the hash for the isofs name corresponding to the dentry.
* Compute the hash for the isofs name corresponding to the dentry.
*/
*/
static
int
static
int
isofs_hash_common
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
,
int
ms
)
isofs_hash_common
(
struct
qstr
*
qstr
,
int
ms
)
{
{
const
char
*
name
;
const
char
*
name
;
int
len
;
int
len
;
...
@@ -202,7 +202,7 @@ isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms)
...
@@ -202,7 +202,7 @@ isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms)
* Compute the hash for the isofs name corresponding to the dentry.
* Compute the hash for the isofs name corresponding to the dentry.
*/
*/
static
int
static
int
isofs_hashi_common
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
,
int
ms
)
isofs_hashi_common
(
struct
qstr
*
qstr
,
int
ms
)
{
{
const
char
*
name
;
const
char
*
name
;
int
len
;
int
len
;
...
@@ -259,13 +259,13 @@ static int isofs_dentry_cmp_common(
...
@@ -259,13 +259,13 @@ static int isofs_dentry_cmp_common(
static
int
static
int
isofs_hash
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
isofs_hash
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
{
{
return
isofs_hash_common
(
dentry
,
qstr
,
0
);
return
isofs_hash_common
(
qstr
,
0
);
}
}
static
int
static
int
isofs_hashi
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
isofs_hashi
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
{
{
return
isofs_hashi_common
(
dentry
,
qstr
,
0
);
return
isofs_hashi_common
(
qstr
,
0
);
}
}
static
int
static
int
...
@@ -286,13 +286,13 @@ isofs_dentry_cmpi(const struct dentry *parent, const struct dentry *dentry,
...
@@ -286,13 +286,13 @@ isofs_dentry_cmpi(const struct dentry *parent, const struct dentry *dentry,
static
int
static
int
isofs_hash_ms
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
isofs_hash_ms
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
{
{
return
isofs_hash_common
(
dentry
,
qstr
,
1
);
return
isofs_hash_common
(
qstr
,
1
);
}
}
static
int
static
int
isofs_hashi_ms
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
isofs_hashi_ms
(
const
struct
dentry
*
dentry
,
struct
qstr
*
qstr
)
{
{
return
isofs_hashi_common
(
dentry
,
qstr
,
1
);
return
isofs_hashi_common
(
qstr
,
1
);
}
}
static
int
static
int
...
...
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