]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: parent pointer attribute creation
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 29 Jul 2024 23:22:47 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:02 +0000 (17:01 -0700)
commit4bba3a077374e8d8a2d905454798a1081ed66c2e
tree1692066019142c1d0a61f9b2e5733186f200f3bb
parent9f45ce92fc17ed012d0d1fe30d7e9aca1308412d
xfs: parent pointer attribute creation

Source kernel commit: b7c62d90c12c6cc86f10b8a62cefe0029374b6ff

Add parent pointer attribute during xfs_create, and subroutines to
initialize attributes.  Note that the xfs_attr_intent object contains a
pointer to the caller's xfs_da_args object, so the latter must persist
until transaction commit.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: shorten names, adjust to new format, set init_xattrs for parent
pointers]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/libxfs.h
include/xfs_inode.h
libxfs/Makefile
libxfs/init.c
libxfs/libxfs_api_defs.h
libxfs/xfs_parent.c
libxfs/xfs_parent.h
libxfs/xfs_trans_space.c [new file with mode: 0644]
libxfs/xfs_trans_space.h
repair/phase6.c