On 2020/6/15 9:42, Chao Yu wrote:
> Hi Wei Fang,
>
> On 2020/6/13 12:25, Wei Fang wrote:
>> Since offset < new_size, no need to do truncate_pagecache() again
>> with new_size.
>>
>> Signed-off-by: Wei Fang
>> ---
>> fs/f2fs/file.c | 5 ++---
>> 1 file changed, 2 insertions(+), 3 deletions(-)
>>
Hi Wei Fang,
On 2020/6/13 12:25, Wei Fang wrote:
> Since offset < new_size, no need to do truncate_pagecache() again
> with new_size.
>
> Signed-off-by: Wei Fang
> ---
> fs/f2fs/file.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
Since offset < new_size, no need to do truncate_pagecache() again
with new_size.
Signed-off-by: Wei Fang
---
fs/f2fs/file.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 3268f8dd59bb..43544817238b 100644
--- a/fs/f2fs/file.c
+++ b/