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
82d339d9
Commit
82d339d9
authored
Oct 09, 2009
by
Alexey Dobriyan
Committed by
Chris Mason
Oct 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: constify dentry_operations
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
94fcca9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/btrfs/ctree.h
fs/btrfs/ctree.h
+1
-1
fs/btrfs/inode.c
fs/btrfs/inode.c
+1
-1
No files found.
fs/btrfs/ctree.h
View file @
82d339d9
...
@@ -2330,7 +2330,7 @@ int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode);
...
@@ -2330,7 +2330,7 @@ int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode);
void
btrfs_orphan_cleanup
(
struct
btrfs_root
*
root
);
void
btrfs_orphan_cleanup
(
struct
btrfs_root
*
root
);
int
btrfs_cont_expand
(
struct
inode
*
inode
,
loff_t
size
);
int
btrfs_cont_expand
(
struct
inode
*
inode
,
loff_t
size
);
int
btrfs_invalidate_inodes
(
struct
btrfs_root
*
root
);
int
btrfs_invalidate_inodes
(
struct
btrfs_root
*
root
);
extern
struct
dentry_operations
btrfs_dentry_operations
;
extern
const
struct
dentry_operations
btrfs_dentry_operations
;
/* ioctl.c */
/* ioctl.c */
long
btrfs_ioctl
(
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
long
btrfs_ioctl
(
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
);
...
...
fs/btrfs/inode.c
View file @
82d339d9
...
@@ -5840,6 +5840,6 @@ static struct inode_operations btrfs_symlink_inode_operations = {
...
@@ -5840,6 +5840,6 @@ static struct inode_operations btrfs_symlink_inode_operations = {
.
removexattr
=
btrfs_removexattr
,
.
removexattr
=
btrfs_removexattr
,
};
};
struct
dentry_operations
btrfs_dentry_operations
=
{
const
struct
dentry_operations
btrfs_dentry_operations
=
{
.
d_delete
=
btrfs_dentry_delete
,
.
d_delete
=
btrfs_dentry_delete
,
};
};
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