Re: [PATCH 3.16 105/306] vfs,mm: fix a dead loop in truncate_inode_pages_range()

2017-02-16 Thread Ben Hutchings
On Thu, 2017-02-16 at 09:25 +0800, Wei Fang wrote: > Hi, Ben, > > Commit d05c5f7ba164 "vfs,mm: fix return value of read() at s_maxbytes" > need be backported with this patch, otherwise we'll get an error when > reading at the end of the file. [...] Sorry, I should have seen the notes for this com

Re: [PATCH 3.16 105/306] vfs,mm: fix a dead loop in truncate_inode_pages_range()

2017-02-15 Thread Wei Fang
Hi, Ben, Commit d05c5f7ba164 "vfs,mm: fix return value of read() at s_maxbytes" need be backported with this patch, otherwise we'll get an error when reading at the end of the file. Thanks, Wei On 2017/2/16 6:41, Ben Hutchings wrote: > 3.16.40-rc1 review patch. If anyone has any objections, ple

[PATCH 3.16 105/306] vfs,mm: fix a dead loop in truncate_inode_pages_range()

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Wei Fang commit c2a9737f45e27d8263ff9643f994bda9bac0b944 upstream. We triggered a deadloop in truncate_inode_pages_range() on 32 bits architecture with the test case bellow: ...