diff options
author | Brian Behlendorf <behlendorf1@llnl.gov> | 2011-02-16 17:55:53 +0000 |
---|---|---|
committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2011-02-16 17:55:53 +0000 |
commit | a6695d83b763aaeeeeb6d4bdb57ed59a384106f7 (patch) | |
tree | f083316fef9eaaf5262adebad3b2edf27b110d17 /module/zfs/zpl_inode.c | |
parent | d8fd10545b677cb4b770674372c1e116b7c22c64 (diff) | |
download | src-a6695d83b763aaeeeeb6d4bdb57ed59a384106f7.tar.gz src-a6695d83b763aaeeeeb6d4bdb57ed59a384106f7.zip |
Diffstat (limited to 'module/zfs/zpl_inode.c')
-rw-r--r-- | module/zfs/zpl_inode.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/module/zfs/zpl_inode.c b/module/zfs/zpl_inode.c index e866dcd4d508..637a7dc698b8 100644 --- a/module/zfs/zpl_inode.c +++ b/module/zfs/zpl_inode.c @@ -288,7 +288,6 @@ out: } const struct inode_operations zpl_inode_operations = { - .check_acl = NULL, .create = zpl_create, .link = zpl_link, .unlink = zpl_unlink, @@ -306,7 +305,6 @@ const struct inode_operations zpl_inode_operations = { }; const struct inode_operations zpl_dir_inode_operations = { - .check_acl = NULL, .create = zpl_create, .lookup = zpl_lookup, .link = zpl_link, @@ -317,15 +315,24 @@ const struct inode_operations zpl_dir_inode_operations = { .mknod = zpl_mknod, .rename = zpl_rename, .setattr = zpl_setattr, + .getattr = zpl_getattr, + .setxattr = generic_setxattr, + .getxattr = generic_getxattr, + .removexattr = generic_removexattr, + .listxattr = zpl_xattr_list, }; const struct inode_operations zpl_symlink_inode_operations = { - .check_acl = NULL, .readlink = generic_readlink, .follow_link = zpl_follow_link, .put_link = zpl_put_link, }; const struct inode_operations zpl_special_inode_operations = { - .check_acl = NULL, + .setattr = zpl_setattr, + .getattr = zpl_getattr, + .setxattr = generic_setxattr, + .getxattr = generic_getxattr, + .removexattr = generic_removexattr, + .listxattr = zpl_xattr_list, }; |