xfs: xfs_bmap_punch_delalloc_range() should take a byte range
mainline inclusion from mainline-v6.1-rc4 commit 7348b322 category: bugfix bugzilla: 189079, https://gitee.com/openeuler/kernel/issues/I76JSK CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7348b322332d8602a4133f0b861334ea021b134a -------------------------------- All the callers of xfs_bmap_punch_delalloc_range() jump through hoops to convert a byte range to filesystem blocks before calling xfs_bmap_punch_delalloc_range(). Instead, pass the byte range to xfs_bmap_punch_delalloc_range() and have it do the conversion to filesystem blocks internally. Signed-off-by:Dave Chinner <dchinner@redhat.com> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Conflicts: fs/xfs/xfs_aops.c Signed-off-by:
Long Li <leo.lilong@huawei.com>
Loading
Please sign in to comment