summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_iter.c
diff options
context:
space:
mode:
authorTomohiro Kusumi <[email protected]>2019-05-09 08:40:51 +0900
committerBrian Behlendorf <[email protected]>2019-05-08 16:40:51 -0700
commit97aa3ba44f0b3911866e5dfc31b0d7a9fb124855 (patch)
tree9cbdc28323eca6bb9835f261cafa79039c3fa6d2 /cmd/zfs/zfs_iter.c
parente2dddb7e58f7046dc1bfdbc49db52f298fb7019f (diff)
Fix link count of root inode when snapdir is visible
Given how zfs_getattr() is implemented, zfs_getattr_fast() (used by ->getattr() of zpl inodes) also needs to consider an additional link count if "snapdir" property is set to "visible". Without this, # of directories in root inode of each dataset doesn't match the link count when snapdir is visible. Reviewed-by: Richard Yao <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tomohiro Kusumi <[email protected]> Closes #8727
Diffstat (limited to 'cmd/zfs/zfs_iter.c')
0 files changed, 0 insertions, 0 deletions