提交 e56980d4 编写于 作者: J Jan Engelhardt 提交者: Al Viro

fs: make struct dentry->d_op const

This change will allow for tagging many dentry_operations const in the
source tree.
Signed-off-by: NJan Engelhardt <jengelh@medozas.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 a9f184f0
...@@ -112,7 +112,7 @@ struct dentry { ...@@ -112,7 +112,7 @@ struct dentry {
struct list_head d_subdirs; /* our children */ struct list_head d_subdirs; /* our children */
struct list_head d_alias; /* inode alias list */ struct list_head d_alias; /* inode alias list */
unsigned long d_time; /* used by d_revalidate */ unsigned long d_time; /* used by d_revalidate */
struct dentry_operations *d_op; const struct dentry_operations *d_op;
struct super_block *d_sb; /* The root of the dentry tree */ struct super_block *d_sb; /* The root of the dentry tree */
void *d_fsdata; /* fs-specific data */ void *d_fsdata; /* fs-specific data */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册