]> git.proxmox.com Git - mirror_zfs-debian.git/commit - module/zfs/zpl_inode.c
Add get/setattr, get/setxattr hooks
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Feb 2011 17:55:53 +0000 (09:55 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Feb 2011 17:55:53 +0000 (09:55 -0800)
commita6695d83b763aaeeeeb6d4bdb57ed59a384106f7
treef083316fef9eaaf5262adebad3b2edf27b110d17
parentd8fd10545b677cb4b770674372c1e116b7c22c64
Add get/setattr, get/setxattr hooks

While the attr/xattr hooks were already in place for regular
files this hooks can also apply to directories and special files.
While they aren't typically used in this way, it should be
supported.  This patch registers these additional callbacks
for both directory and special inode types.
module/zfs/zpl_inode.c