summaryrefslogtreecommitdiffstats
path: root/module/zfs/zpl_inode.c
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-10-19 11:12:20 -0700
committerBrian Behlendorf <[email protected]>2016-10-20 09:39:09 -0700
commit8ba3f2bf6a66378b36acd70e5616a78396030984 (patch)
treefed6f5a1f58a0fa14f3f53686fd5af2253d6faf1 /module/zfs/zpl_inode.c
parent9d70aec6fde90112b5b5610ab5c17b6883b97063 (diff)
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 <[email protected]>
Diffstat (limited to 'module/zfs/zpl_inode.c')
-rw-r--r--module/zfs/zpl_inode.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/module/zfs/zpl_inode.c b/module/zfs/zpl_inode.c
index b7ac4649c..d26193ffa 100644
--- a/module/zfs/zpl_inode.c
+++ b/module/zfs/zpl_inode.c
@@ -649,14 +649,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,