Re: [f2fs-dev] [RFC PATCH 08/10] fsverity: Add call back to verify file holes

2019-02-21 Thread Chandan Rajendra
On Wednesday, February 20, 2019 6:05:07 AM IST Eric Biggers wrote: > On Mon, Feb 18, 2019 at 03:34:31PM +0530, Chandan Rajendra wrote: > > readpage() implmentations zero out part of the page-cache page mapping a > > file hole. This commit adds a call back to "struct fsverity_operations" > > which

Re: [f2fs-dev] [RFC PATCH 08/10] fsverity: Add call back to verify file holes

2019-02-19 Thread Eric Biggers
On Mon, Feb 18, 2019 at 03:34:31PM +0530, Chandan Rajendra wrote: > readpage() implmentations zero out part of the page-cache page mapping a > file hole. This commit adds a call back to "struct fsverity_operations" > which readpage() can invoke to verify the file hole. I don't see why this is

[f2fs-dev] [RFC PATCH 08/10] fsverity: Add call back to verify file holes

2019-02-18 Thread Chandan Rajendra
readpage() implmentations zero out part of the page-cache page mapping a file hole. This commit adds a call back to "struct fsverity_operations" which readpage() can invoke to verify the file hole. Signed-off-by: Chandan Rajendra --- fs/ext4/super.c | 1 + include/linux/fsverity.h | 1