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
ce6cdc47
Commit
ce6cdc47
authored
Feb 20, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify dentry_operations: FAT
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
4269590a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fs/fat/namei_msdos.c
fs/fat/namei_msdos.c
+1
-1
fs/fat/namei_vfat.c
fs/fat/namei_vfat.c
+2
-2
No files found.
fs/fat/namei_msdos.c
View file @
ce6cdc47
...
@@ -188,7 +188,7 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
...
@@ -188,7 +188,7 @@ static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
goto
out
;
goto
out
;
}
}
static
struct
dentry_operations
msdos_dentry_operations
=
{
static
const
struct
dentry_operations
msdos_dentry_operations
=
{
.
d_hash
=
msdos_hash
,
.
d_hash
=
msdos_hash
,
.
d_compare
=
msdos_cmp
,
.
d_compare
=
msdos_cmp
,
};
};
...
...
fs/fat/namei_vfat.c
View file @
ce6cdc47
...
@@ -166,13 +166,13 @@ static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
...
@@ -166,13 +166,13 @@ static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
return
1
;
return
1
;
}
}
static
struct
dentry_operations
vfat_ci_dentry_ops
=
{
static
const
struct
dentry_operations
vfat_ci_dentry_ops
=
{
.
d_revalidate
=
vfat_revalidate_ci
,
.
d_revalidate
=
vfat_revalidate_ci
,
.
d_hash
=
vfat_hashi
,
.
d_hash
=
vfat_hashi
,
.
d_compare
=
vfat_cmpi
,
.
d_compare
=
vfat_cmpi
,
};
};
static
struct
dentry_operations
vfat_dentry_ops
=
{
static
const
struct
dentry_operations
vfat_dentry_ops
=
{
.
d_revalidate
=
vfat_revalidate
,
.
d_revalidate
=
vfat_revalidate
,
.
d_hash
=
vfat_hash
,
.
d_hash
=
vfat_hash
,
.
d_compare
=
vfat_cmp
,
.
d_compare
=
vfat_cmp
,
...
...
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