From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:35082 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726368AbeGKJ1b (ORCPT ); Wed, 11 Jul 2018 05:27:31 -0400 Date: Wed, 11 Jul 2018 11:23:58 +0200 From: Jan Kara To: Amir Goldstein Cc: Jan Kara , Linux Audit , Paul Moore , linux-fsdevel , Al Viro , Richard Guy Briggs Subject: Re: [PATCH 06/10] audit: Factor out chunk replacement code Message-ID: <20180711092358.br35lim3kiqwvmgk@quack2.suse.cz> References: <20180710100217.12866-1-jack@suse.cz> <20180710100217.12866-7-jack@suse.cz> <20180711082638.lpi6nnrfkwmm6is4@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed 11-07-18 12:01:35, Amir Goldstein wrote: > On Wed, Jul 11, 2018 at 11:26 AM, Jan Kara wrote: > > On Wed 11-07-18 10:58:24, Amir Goldstein wrote: > >> On Tue, Jul 10, 2018 at 1:02 PM, Jan Kara wrote: > >> > Chunk replacement code is very similar for the cases where we grow or > >> > shrink chunk. Factor the code out into a common helper function. > >> > > >> > Signed-off-by: Jan Kara > >> > >> Ack. Nice re-factoring. > > > > Thanks. BTW, I didn't add your Acked-by tags because it wasn't obvious to > > me whether you meant them as an official tag-worthy statement. So do want > > me to add the tags or do you prefer to stay "anonymous reviewer" ;)? > > > > Don't feel confident enough with Reviewed-by/Acked-by on this series, > just letting you know that I eyeballed your patches FWIW ;-) > > I'm down to the last one, which is agonizing to make sure nothing is missed > from the diff. At this point [10/10] I'd rather review the final code. Yes, changing lifetime rules is almost always painful, especially in the code you don't understand too well. It took me a day to understand audit well enough to be confident to make that change... > Can you push the work to a branch. Sure, audit_cleanup branch pushed out to git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git Thanks for your review! Honza -- Jan Kara SUSE Labs, CR