Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
4fd03e84
Commit
4fd03e84
authored
Feb 20, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify dentry_operations: CIFS
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
79be57cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fs/cifs/cifsfs.h
fs/cifs/cifsfs.h
+2
-2
fs/cifs/dir.c
fs/cifs/dir.c
+2
-2
No files found.
fs/cifs/cifsfs.h
View file @
4fd03e84
...
@@ -78,8 +78,8 @@ extern int cifs_dir_open(struct inode *inode, struct file *file);
...
@@ -78,8 +78,8 @@ extern int cifs_dir_open(struct inode *inode, struct file *file);
extern
int
cifs_readdir
(
struct
file
*
file
,
void
*
direntry
,
filldir_t
filldir
);
extern
int
cifs_readdir
(
struct
file
*
file
,
void
*
direntry
,
filldir_t
filldir
);
/* Functions related to dir entries */
/* Functions related to dir entries */
extern
struct
dentry_operations
cifs_dentry_ops
;
extern
const
struct
dentry_operations
cifs_dentry_ops
;
extern
struct
dentry_operations
cifs_ci_dentry_ops
;
extern
const
struct
dentry_operations
cifs_ci_dentry_ops
;
/* Functions related to symlinks */
/* Functions related to symlinks */
extern
void
*
cifs_follow_link
(
struct
dentry
*
direntry
,
struct
nameidata
*
nd
);
extern
void
*
cifs_follow_link
(
struct
dentry
*
direntry
,
struct
nameidata
*
nd
);
...
...
fs/cifs/dir.c
View file @
4fd03e84
...
@@ -699,7 +699,7 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd)
...
@@ -699,7 +699,7 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd)
return rc;
return rc;
} */
} */
struct
dentry_operations
cifs_dentry_ops
=
{
const
struct
dentry_operations
cifs_dentry_ops
=
{
.
d_revalidate
=
cifs_d_revalidate
,
.
d_revalidate
=
cifs_d_revalidate
,
/* d_delete: cifs_d_delete, */
/* not needed except for debugging */
/* d_delete: cifs_d_delete, */
/* not needed except for debugging */
};
};
...
@@ -737,7 +737,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a,
...
@@ -737,7 +737,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a,
return
1
;
return
1
;
}
}
struct
dentry_operations
cifs_ci_dentry_ops
=
{
const
struct
dentry_operations
cifs_ci_dentry_ops
=
{
.
d_revalidate
=
cifs_d_revalidate
,
.
d_revalidate
=
cifs_d_revalidate
,
.
d_hash
=
cifs_ci_hash
,
.
d_hash
=
cifs_ci_hash
,
.
d_compare
=
cifs_ci_compare
,
.
d_compare
=
cifs_ci_compare
,
...
...
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