mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 <david.chen@osnexus.com>
This commit is contained in:
parent
9d70aec6fd
commit
8ba3f2bf6a
@ -649,14 +649,6 @@ zpl_revalidate(struct dentry *dentry, unsigned int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const struct inode_operations zpl_inode_operations = {
|
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,
|
.setattr = zpl_setattr,
|
||||||
.getattr = zpl_getattr,
|
.getattr = zpl_getattr,
|
||||||
.setxattr = generic_setxattr,
|
.setxattr = generic_setxattr,
|
||||||
|
Loading…
Reference in New Issue
Block a user