Commit 4e6b8973 authored by Al Viro's avatar Al Viro

hostfs: directory methods have no business in non-directory inode_operations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 78c3e473
...@@ -861,14 +861,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr *attr) ...@@ -861,14 +861,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr *attr)
} }
static const struct inode_operations hostfs_iops = { static const struct inode_operations hostfs_iops = {
.create = hostfs_create,
.link = hostfs_link,
.unlink = hostfs_unlink,
.symlink = hostfs_symlink,
.mkdir = hostfs_mkdir,
.rmdir = hostfs_rmdir,
.mknod = hostfs_mknod,
.rename = hostfs_rename,
.permission = hostfs_permission, .permission = hostfs_permission,
.setattr = hostfs_setattr, .setattr = hostfs_setattr,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment