Re: [PATCH 02/22] btrfs: assume that prev_em_start is always valid in __do_readpage

2018-03-16 Thread David Sterba
On Tue, Mar 13, 2018 at 11:03:31PM +0800, Anand Jain wrote: > On 03/08/2018 10:33 PM, David Sterba wrote: > > All callers pass a valid pointer, we can remove the redundant checks. > > > > Signed-off-by: David Sterba > > --- > > fs/btrfs/extent_io.c | 9 ++--- > > 1 file changed, 6 insertio

Re: [PATCH 02/22] btrfs: assume that prev_em_start is always valid in __do_readpage

2018-03-13 Thread Anand Jain
On 03/08/2018 10:33 PM, David Sterba wrote: All callers pass a valid pointer, we can remove the redundant checks. Signed-off-by: David Sterba --- fs/btrfs/extent_io.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c in