Loading fs/autofs/root.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, struct nameidata *nd) return 1; return 1; } } static struct dentry_operations autofs_dentry_operations = { static const struct dentry_operations autofs_dentry_operations = { .d_revalidate = autofs_revalidate, .d_revalidate = autofs_revalidate, }; }; Loading fs/autofs4/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -310,7 +310,7 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi) return ino; return ino; } } static struct dentry_operations autofs4_sb_dentry_operations = { static const struct dentry_operations autofs4_sb_dentry_operations = { .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; Loading fs/autofs4/root.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -349,13 +349,13 @@ void autofs4_dentry_release(struct dentry *de) } } /* For dentries of directories in the root dir */ /* For dentries of directories in the root dir */ static struct dentry_operations autofs4_root_dentry_operations = { static const struct dentry_operations autofs4_root_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; /* For other dentries */ /* For other dentries */ static struct dentry_operations autofs4_dentry_operations = { static const struct dentry_operations autofs4_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; Loading Loading
fs/autofs/root.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, struct nameidata *nd) return 1; return 1; } } static struct dentry_operations autofs_dentry_operations = { static const struct dentry_operations autofs_dentry_operations = { .d_revalidate = autofs_revalidate, .d_revalidate = autofs_revalidate, }; }; Loading
fs/autofs4/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -310,7 +310,7 @@ static struct autofs_info *autofs4_mkroot(struct autofs_sb_info *sbi) return ino; return ino; } } static struct dentry_operations autofs4_sb_dentry_operations = { static const struct dentry_operations autofs4_sb_dentry_operations = { .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; Loading
fs/autofs4/root.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -349,13 +349,13 @@ void autofs4_dentry_release(struct dentry *de) } } /* For dentries of directories in the root dir */ /* For dentries of directories in the root dir */ static struct dentry_operations autofs4_root_dentry_operations = { static const struct dentry_operations autofs4_root_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; /* For other dentries */ /* For other dentries */ static struct dentry_operations autofs4_dentry_operations = { static const struct dentry_operations autofs4_dentry_operations = { .d_revalidate = autofs4_revalidate, .d_revalidate = autofs4_revalidate, .d_release = autofs4_dentry_release, .d_release = autofs4_dentry_release, }; }; Loading