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: https://git.stricted.de/?a=commitdiff_plain;h=4e6b8973282829e0d5898d9721880556957f0f98;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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, };