freebsd-skq/sys/gnu/fs/xfs
John Baldwin 3634d5b241 Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and
LK_CANRECURSE after a lock is created.  Use them to implement macros that
otherwise manipulated the flags directly.  Assert that the associated
lockmgr lock is exclusively locked by the current thread when manipulating
these flags to ensure the flag updates are safe.  This last change required
some minor shuffling in a few filesystems to exclusively lock a brand new
vnode slightly earlier.

Reviewed by:	kib
MFC after:	3 days
2010-08-20 19:46:50 +00:00
..
FreeBSD Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
xfs_acl.c
xfs_acl.h
xfs_ag.h
xfs_alloc_btree.c
xfs_alloc_btree.h
xfs_alloc.c
xfs_alloc.h
xfs_arch.h
xfs_attr_leaf.c
xfs_attr_leaf.h
xfs_attr_sf.h
xfs_attr.c
xfs_attr.h
xfs_behavior.c
xfs_behavior.h
xfs_bit.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_bit.h
xfs_bmap_btree.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_bmap_btree.h
xfs_bmap.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_bmap.h
xfs_btree.c
xfs_btree.h
xfs_buf_item.c
xfs_buf_item.h
xfs_cap.c
xfs_cap.h
xfs_clnt.h
xfs_da_btree.c
xfs_da_btree.h
xfs_dfrag.c Adapt to accmode_t changes. 2008-11-14 09:58:16 +00:00
xfs_dfrag.h
xfs_dinode.h
xfs_dir2_block.c
xfs_dir2_block.h
xfs_dir2_data.c
xfs_dir2_data.h
xfs_dir2_leaf.c
xfs_dir2_leaf.h
xfs_dir2_node.c
xfs_dir2_node.h
xfs_dir2_sf.c
xfs_dir2_sf.h
xfs_dir2_trace.c
xfs_dir2_trace.h
xfs_dir2.c
xfs_dir2.h
xfs_dir_leaf.c
xfs_dir_leaf.h
xfs_dir_sf.h
xfs_dir.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_dir.h
xfs_dmapi.h
xfs_dmops.c
xfs_error.c
xfs_error.h
xfs_extfree_item.c
xfs_extfree_item.h
xfs_fs.h
xfs_fsops.c
xfs_fsops.h
xfs_ialloc_btree.c
xfs_ialloc_btree.h
xfs_ialloc.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_ialloc.h
xfs_iget.c
xfs_imap.h
xfs_inode_item.c
xfs_inode_item.h
xfs_inode.c Adapt to accmode_t changes. 2008-11-14 09:58:16 +00:00
xfs_inode.h Adapt to accmode_t changes. 2008-11-14 09:58:16 +00:00
xfs_inum.h
xfs_iocore.c
xfs_iomap.c
xfs_iomap.h
xfs_itable.c
xfs_itable.h
xfs_log_priv.h
xfs_log_recover.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_log_recover.h
xfs_log.c Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_log.h
xfs_mac.c
xfs_mac.h
xfs_mount.c
xfs_mount.h
xfs_qmops.c
xfs_quota.h
xfs_refcache.c
xfs_refcache.h
xfs_rename.c
xfs_rtalloc.c
xfs_rtalloc.h Bow to incomplete GCC 4. constant propagation optimizations and 2007-05-30 03:03:06 +00:00
xfs_rw.c
xfs_rw.h Switch cmd argument of ioctl to u_long as elsewhere in the kernel. 2009-06-25 08:52:20 +00:00
xfs_sb.h
xfs_trans_ail.c
xfs_trans_buf.c
xfs_trans_extfree.c
xfs_trans_inode.c
xfs_trans_item.c
xfs_trans_priv.h
xfs_trans_space.h
xfs_trans.c
xfs_trans.h
xfs_types.h
xfs_utils.c
xfs_utils.h
xfs_vfsops.c
xfs_vnodeops.c Switch cmd argument of ioctl to u_long as elsewhere in the kernel. 2009-06-25 08:52:20 +00:00
xfs.h
xfsidbg.c