Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'xfs-5.16-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs fix from Darrick Wong:

- Make the old ALLOCSP ioctl behave in a consistent manner with newer
syscalls like fallocate.

* tag 'xfs-5.16-fixes-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate

+2 -1
+2 -1
fs/xfs/xfs_ioctl.c
··· 687 687 688 688 if (bf->l_start > XFS_ISIZE(ip)) { 689 689 error = xfs_alloc_file_space(ip, XFS_ISIZE(ip), 690 - bf->l_start - XFS_ISIZE(ip), 0); 690 + bf->l_start - XFS_ISIZE(ip), 691 + XFS_BMAPI_PREALLOC); 691 692 if (error) 692 693 goto out_unlock; 693 694 }