Fork of hrdl's(https://git.sr.ht/~hrdl/linux) 'hrdl-pinenote-6.15rc3 branch, rebased to 6.15. hrdl's branch is itself a fork of m-weigand's (https://github.com/m-weigand/linux) v6.12 branch.
Find a file
Yan dcfec0dcb1 Btrfs: Fix u32 overflow in dirty_and_release_pages.
When calculating the size of inline extent,  inode->i_size should also
be take into consideration, otherwise sys_write may drop some data
silently.  You can test this bug by:

#dd if=/dev/zero bs=4k count=1 of=test_file
#dd if=/dev/zero bs=2k count=1 of=test_file conv=notrunc

Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:03:57 -04:00
fs/btrfs Btrfs: Fix u32 overflow in dirty_and_release_pages. 2008-09-25 11:03:57 -04:00