]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor extended attribute list operation
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 25 Oct 2017 23:59:42 +0000 (16:59 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 27 Oct 2017 16:20:31 +0000 (09:20 -0700)
commit871ed210bf6106238aa050be482ab1ce39262af5
tree3981bf034da0ca50ed53495a527fb8cbbd666597
parent8308ee486696e16140616dfec6c31f37f4d605d4
xfs: refactor extended attribute list operation

When we're iterating the attribute list and we can't find our previous
location based off the attribute cursor, we'll instead walk down the
attribute btree from the root trying to find where we left off.  Move
this code into a separate function for later cleanups.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_attr_list.c