]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: rename xfs_bmap_is_real_extent to is_written_extent
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 11 Nov 2022 04:10:21 +0000 (09:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Nov 2022 16:42:03 +0000 (17:42 +0100)
commitf8f99418b75780c0e7b92dc4d1ca9f6fabb2e1f1
tree721814c05b3f33448eae47664273de5c8425f570
parent95db4569e018b81909e319c30fba2cc4d9652d55
xfs: rename xfs_bmap_is_real_extent to is_written_extent

commit 9db06921e6d64d3db44eae89ca1aec6438ec2b11 upstream.

[ Slightly modify fs/xfs/libxfs/xfs_rtbitmap.c & fs/xfs/xfs_reflink.c to
  resolve merge conflict ]

The name of this predicate is a little misleading -- it decides if the
extent mapping is allocated and written.  Change the name to be more
direct, as we're going to add a new predicate in the next patch.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/xfs_reflink.c