]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: decrease indenting problems in xfs_dabuf_map
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Nov 2019 16:41:18 +0000 (09:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:27 +0000 (08:28 -0800)
commit9839a6d926c13d7671b092a6c218fcfffaa6e005
treef62b41be1eb7004a73db2a6a076d1a42d0493d1c
parentdf7328e8a87cc7333cc739262c8999c6fdabaa8b
xfs: decrease indenting problems in xfs_dabuf_map

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>
fs/xfs/libxfs/xfs_da_btree.c