From 20a0763746c0be60789442fabf49e6a1bca40853 Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Wed, 19 Oct 2016 11:12:20 -0700 Subject: [PATCH] Remove dir inode operations from zpl_inode_operations These operations are dir specific, there's no point putting them in zpl_inode_operations which is for regular files. Signed-off-by: Chunwei Chen --- module/zfs/zpl_inode.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/module/zfs/zpl_inode.c b/module/zfs/zpl_inode.c index cbdab7d300..ed12bb19d7 100644 --- a/module/zfs/zpl_inode.c +++ b/module/zfs/zpl_inode.c @@ -642,14 +642,6 @@ zpl_revalidate(struct dentry *dentry, unsigned int flags) } const struct inode_operations zpl_inode_operations = { - .create = zpl_create, - .link = zpl_link, - .unlink = zpl_unlink, - .symlink = zpl_symlink, - .mkdir = zpl_mkdir, - .rmdir = zpl_rmdir, - .mknod = zpl_mknod, - .rename = zpl_rename, .setattr = zpl_setattr, .getattr = zpl_getattr, .setxattr = generic_setxattr,