constify dentry_operations: misc filesystems
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@ -277,7 +277,7 @@ static int smb_hash_dentry(struct dentry *, struct qstr *);
|
||||
static int smb_compare_dentry(struct dentry *, struct qstr *, struct qstr *);
|
||||
static int smb_delete_dentry(struct dentry *);
|
||||
|
||||
static struct dentry_operations smbfs_dentry_operations =
|
||||
static const struct dentry_operations smbfs_dentry_operations =
|
||||
{
|
||||
.d_revalidate = smb_lookup_validate,
|
||||
.d_hash = smb_hash_dentry,
|
||||
@ -285,7 +285,7 @@ static struct dentry_operations smbfs_dentry_operations =
|
||||
.d_delete = smb_delete_dentry,
|
||||
};
|
||||
|
||||
static struct dentry_operations smbfs_dentry_operations_case =
|
||||
static const struct dentry_operations smbfs_dentry_operations_case =
|
||||
{
|
||||
.d_revalidate = smb_lookup_validate,
|
||||
.d_delete = smb_delete_dentry,
|
||||
|
Reference in New Issue
Block a user