+6
−4
Loading
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9VTE3 CVE: NA Reference: https://lore.kernel.org/linux-xfs/20240705162450.3481169-1-john.g.garry@oracle.com -------------------------------- In xfs_bmap_process_allocated_extent(), for when we found that we could not provide the requested length completely, the mapping is moved so that we can provide as much as possible for the original request. For forcealign, this would mean ignoring alignment guaranteed, so don't do this. Fixes: 63f4d844 ("fs: xfs: Make file data allocations observe the 'forcealign' flag") Reviewed-by:"Darrick J. Wong" <djwong@kernel.org> Signed-off-by:
John Garry <john.g.garry@oracle.com> Signed-off-by:
Long Li <leo.lilong@huawei.com>