mirror_zfs/include/sys
Chris Dunlop dfbc86309f Use native inode->i_nlink instead of znode->z_links
A mostly mechanical change, taking into account i_nlink is 32 bits vs ZFS's
64 bit on-disk link count.

We revert "xattr dir doesn't get purged during iput" (ddae16a) as this is a
more Linux-integrated fix for the same issue.

In addition, setting the initial link count on a new node has been changed
from setting one less than required in zfs_mknode() then incrementing to the
correct count in zfs_link_create() (which was somewhat bizarre in the first
place), to setting the correct count in zfs_mknode() and not incrementing it
in zfs_link_create(). This both means we no longer set the link count in
sa_bulk_update() twice (once for the initial incorrect count then again for
the correct count), as well as adhering to the Linux requirement of not
incrementing a zero link count without I_LINKABLE (see linux commit
f4e0c30c).

Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #4838
Issue #227
2016-07-14 16:25:34 -07:00
..
fm
fs
arc_impl.h
arc.h
avl_impl.h
avl.h
blkptr.h
bplist.h
bpobj.h
bptree.h
bqueue.h
dbuf.h
ddt.h
dmu_impl.h
dmu_objset.h
dmu_send.h
dmu_traverse.h
dmu_tx.h
dmu_zfetch.h
dmu.h
dnode.h
dsl_bookmark.h
dsl_dataset.h
dsl_deadlist.h
dsl_deleg.h
dsl_destroy.h
dsl_dir.h
dsl_pool.h
dsl_prop.h
dsl_scan.h
dsl_synctask.h
dsl_userhold.h
efi_partition.h
Makefile.am
metaslab_impl.h
metaslab.h
mntent.h
multilist.h
nvpair_impl.h
nvpair.h
pathname.h
policy.h
range_tree.h
refcount.h
rrwlock.h
sa_impl.h
sa.h
sdt.h
spa_boot.h
spa_checksum.h
spa_impl.h
spa.h
space_map.h
space_reftree.h
trace_acl.h Use native inode->i_nlink instead of znode->z_links 2016-07-14 16:25:34 -07:00
trace_arc.h
trace_common.h
trace_dbgmsg.h
trace_dbuf.h
trace_dmu.h
trace_dnode.h
trace_multilist.h
trace_txg.h
trace_zil.h
trace_zio.h
trace_zrlock.h
trace.h
txg_impl.h
txg.h
u8_textprep_data.h
u8_textprep.h
uberblock_impl.h
uberblock.h
uio_impl.h
unique.h
uuid.h
vdev_disk.h
vdev_file.h
vdev_impl.h
vdev_raidz_impl.h
vdev_raidz.h
vdev.h
xvattr.h
zap_impl.h
zap_leaf.h
zap.h
zfeature.h
zfs_acl.h
zfs_context.h
zfs_ctldir.h
zfs_debug.h
zfs_delay.h
zfs_dir.h
zfs_fuid.h
zfs_ioctl.h
zfs_onexit.h
zfs_rlock.h
zfs_sa.h
zfs_stat.h
zfs_vfsops.h
zfs_vnops.h
zfs_znode.h Use native inode->i_nlink instead of znode->z_links 2016-07-14 16:25:34 -07:00
zil_impl.h
zil.h
zio_checksum.h
zio_compress.h
zio_impl.h
zio_priority.h
zio.h
zpl.h
zrlock.h
zvol.h