]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: factor data block addition from xfs_dir2_node_addname_int()
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Nov 2019 22:16:22 +0000 (17:16 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 15 Nov 2019 22:16:22 +0000 (17:16 -0500)
commit05b9f1e98cf7300ea7c10e95ff7d35ac3170d1c9
tree98792beb1e9261c1e8295545fafa93e0a36569fe
parentf2bedf6b796b36cde5407f901dcd4e0cee0acf5e
xfs: factor data block addition from xfs_dir2_node_addname_int()

Source kernel commit: a07258a695281109422011182db069a0e6f8855e

Factor out the code that adds a data block to a directory from
xfs_dir2_node_addname_int(). This makes the code flow cleaner and
more obvious and provides clear isolation of upcoming optimsations.

Signed-off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net
libxfs/xfs_dir2_node.c