]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Hoist xfs_attr_node_addname
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 26 Apr 2021 23:50:26 +0000 (16:50 -0700)
committerAllison Henderson <allison.henderson@oracle.com>
Tue, 1 Jun 2021 17:49:45 +0000 (10:49 -0700)
commit54387b87e06083c0f6b5c507472a606a154a1b8b
treec7945d37c808859b8e976e5433dbd4ca86508af3
parent9a70736c6d73e5974cd291cb58c911bf52530432
xfs: Hoist xfs_attr_node_addname

This patch hoists the later half of xfs_attr_node_addname into
the calling function.  We do this because it is this area that
will need the most state management, and we want to keep such
code in the same scope as much as possible

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
fs/xfs/libxfs/xfs_attr.c