]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor eofb matching into a single helper
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 May 2020 20:08:48 +0000 (13:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 May 2020 15:49:27 +0000 (08:49 -0700)
commitd2b47912c335fce90a6a2c698781e69d8f9f7dc6
tree5043d649a2d8a66a5b2eac52aafeb7bce430dddc
parent04d93ad6d7db7d01f298acbbd3a3e4971b790519
xfs: refactor eofb matching into a single helper

Refactor the two eofb-matching logics into a single helper so that we
don't repeat ourselves.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_icache.c