From: Jan Engelhardt Date: Wed, 11 Feb 2009 21:14:54 +0000 (-0800) Subject: fs: make struct dentry->d_op const X-Git-Tag: accepted/tizen/common/20141203.182822~17057^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e56980d451904b623573ef4966cbab768e433c79;p=platform%2Fkernel%2Flinux-arm64.git fs: make struct dentry->d_op const This change will allow for tagging many dentry_operations const in the source tree. Signed-off-by: Jan Engelhardt Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- diff --git a/include/linux/dcache.h b/include/linux/dcache.h index c66d224..1515636 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -112,7 +112,7 @@ struct dentry { struct list_head d_subdirs; /* our children */ struct list_head d_alias; /* inode alias list */ 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 */ void *d_fsdata; /* fs-specific data */