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
52dfb8ac
Commit
52dfb8ac
authored
Aug 03, 2010
by
Sage Weil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceph: constify dentry_operations
This makes checkpatch happy. Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
213c99ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
fs/ceph/dir.c
fs/ceph/dir.c
+4
-4
fs/ceph/super.h
fs/ceph/super.h
+1
-1
No files found.
fs/ceph/dir.c
View file @
52dfb8ac
...
...
@@ -27,7 +27,7 @@
const
struct
inode_operations
ceph_dir_iops
;
const
struct
file_operations
ceph_dir_fops
;
struct
dentry_operations
ceph_dentry_ops
;
const
struct
dentry_operations
ceph_dentry_ops
;
/*
* Initialize ceph dentry state.
...
...
@@ -1241,16 +1241,16 @@ const struct inode_operations ceph_dir_iops = {
.
create
=
ceph_create
,
};
struct
dentry_operations
ceph_dentry_ops
=
{
const
struct
dentry_operations
ceph_dentry_ops
=
{
.
d_revalidate
=
ceph_d_revalidate
,
.
d_release
=
ceph_dentry_release
,
};
struct
dentry_operations
ceph_snapdir_dentry_ops
=
{
const
struct
dentry_operations
ceph_snapdir_dentry_ops
=
{
.
d_revalidate
=
ceph_snapdir_d_revalidate
,
.
d_release
=
ceph_dentry_release
,
};
struct
dentry_operations
ceph_snap_dentry_ops
=
{
const
struct
dentry_operations
ceph_snap_dentry_ops
=
{
.
d_release
=
ceph_dentry_release
,
};
fs/ceph/super.h
View file @
52dfb8ac
...
...
@@ -861,7 +861,7 @@ extern void ceph_release_page_vector(struct page **pages, int num_pages);
/* dir.c */
extern
const
struct
file_operations
ceph_dir_fops
;
extern
const
struct
inode_operations
ceph_dir_iops
;
extern
struct
dentry_operations
ceph_dentry_ops
,
ceph_snap_dentry_ops
,
extern
const
struct
dentry_operations
ceph_dentry_ops
,
ceph_snap_dentry_ops
,
ceph_snapdir_dentry_ops
;
extern
int
ceph_handle_notrace_create
(
struct
inode
*
dir
,
struct
dentry
*
dentry
);
...
...
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