summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_ctldir.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-01-05 14:27:30 -0800
committerBrian Behlendorf <[email protected]>2011-02-10 09:27:20 -0800
commit960e08fe3e2cdf5217996b9f42a01f7e20f2b97a (patch)
tree4b253ef28b86959a4398d7482c032e30e8b88bf5 /module/zfs/zfs_ctldir.c
parent7304b6e50f656fbf4b126a4e94deac174133851c (diff)
VFS: Add zfs_inode_update() helper
For the moment we have left ZFS unchanged and it updates many values as part of the znode. However, some of these values should be set in the inode. For the moment this is handled by adding a function called zfs_inode_update() which updates the inode based on the znode. This is considered a workaround until we can systematically go through the ZFS code and have it directly update the inode. At which point zfs_update_inode() can be dropped entirely. Keeping two copies of the same data isn't only inefficient it's a breeding ground for bugs.
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions