Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 78c3e473
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -861,14 +861,6 @@ int hostfs_setattr(struct dentry *dentry, struct iattr *attr)
}

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,
	.setattr	= hostfs_setattr,
};