提交 82d339d9 编写于 作者: A Alexey Dobriyan 提交者: Chris Mason

Btrfs: constify dentry_operations

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 94fcca9f
......@@ -2330,7 +2330,7 @@ int btrfs_orphan_del(struct btrfs_trans_handle *trans, struct inode *inode);
void btrfs_orphan_cleanup(struct btrfs_root *root);
int btrfs_cont_expand(struct inode *inode, loff_t size);
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 */
long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
......
......@@ -5840,6 +5840,6 @@ static struct inode_operations btrfs_symlink_inode_operations = {
.removexattr = btrfs_removexattr,
};
struct dentry_operations btrfs_dentry_operations = {
const struct dentry_operations btrfs_dentry_operations = {
.d_delete = btrfs_dentry_delete,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册