constify dentry_operations: misc filesystems

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2009-02-20 05:55:13 +00:00
parent f786aa90e0
commit e16404ed0f
18 changed files with 22 additions and 23 deletions

View file

@ -31,12 +31,12 @@ static inline struct hostfs_inode_info *HOSTFS_I(struct inode *inode)
#define FILE_HOSTFS_I(file) HOSTFS_I((file)->f_path.dentry->d_inode)
int hostfs_d_delete(struct dentry *dentry)
static int hostfs_d_delete(struct dentry *dentry)
{
return 1;
}
struct dentry_operations hostfs_dentry_ops = {
static const struct dentry_operations hostfs_dentry_ops = {
.d_delete = hostfs_d_delete,
};