----- Ursprüngliche Mail ----- > Von: "Andreas Gruenbacher" <[email protected]> > An: "Christoph Hellwig" <[email protected]>, "Darrick" > <[email protected]> > CC: "Andreas Gruenbacher" <[email protected]>, "torvalds" > <[email protected]>, "linux-kernel" > <[email protected]>, "Al Viro" <[email protected]>, "Jeff > Layton" <[email protected]>, "Sage Weil" > <[email protected]>, "Ilya Dryomov" <[email protected]>, "tytso" > <[email protected]>, "Andreas Dilger" > <[email protected]>, "Jaegeuk Kim" <[email protected]>, "Chao Yu" > <[email protected]>, [email protected], > "linux-fsdevel" <[email protected]>, "richard" <[email protected]>, > "Artem Bityutskiy" <[email protected]>, > "Adrian Hunter" <[email protected]>, [email protected], > [email protected], > [email protected], "linux-mtd" > <[email protected]>, "Chris Mason" <[email protected]>, "Josef > Bacik" <[email protected]>, "David Sterba" <[email protected]>, > "linux-btrfs" <[email protected]> > Gesendet: Freitag, 29. November 2019 15:20:45 > Betreff: [PATCH v2] fs: Fix page_mkwrite off-by-one errors
> The check in block_page_mkwrite meant to determine whether an offset is > within the inode size is off by one. This bug has spread to > iomap_page_mkwrite and to several filesystems (ubifs, ext4, f2fs, ceph). > To fix that, introduce a new page_mkwrite_check_truncate helper that > checks for truncate and computes the bytes in the page up to EOF, and > use that helper in the above mentioned filesystems and in btrfs. > > Signed-off-by: Andreas Gruenbacher <[email protected]> Thank you for fixing UBIFS! Acked-by: Richard Weinberger <[email protected]> Thanks, //richard _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
