Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e56980d4 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Al Viro
Browse files

fs: make struct dentry->d_op const



This change will allow for tagging many dentry_operations const in the
source tree.

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a9f184f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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 */