]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: decrease indenting problems in xfs_dabuf_map
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 22 Jan 2020 16:29:40 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:40 +0000 (11:29 -0500)
commit3af5535c24d13160b3a05d34569affaae2f0e941
tree6a1d1a5bdff200fa8c2743ea931d48bb1afdcf05
parenta0264b735a2eb7aa9ea744d917b6d66cdfe94bcc
xfs: decrease indenting problems in xfs_dabuf_map

Source kernel commit: ee4fb16cbec9aa1ce6e837d143f411ee42df1bb5

Refactor the code that complains when a dir/attr mapping doesn't exist
but the caller requires a mapping.  This small restructuring helps us to
reduce the indenting level.

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