From: Al Viro Date: Sun, 27 Jan 2013 21:51:34 +0000 (-0500) Subject: hostfs: directory methods have no business in non-directory inode_operations X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4e6b8973282829e0d5898d9721880556957f0f98;p=deliverable%2Flinux.git hostfs: directory methods have no business in non-directory inode_operations Signed-off-by: Al Viro --- diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index ba6de25771ac..fbabb906066f 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -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, };