Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935272Ab3DIN0L (ORCPT ); Tue, 9 Apr 2013 09:26:11 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55877 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758427Ab3DIN0J (ORCPT ); Tue, 9 Apr 2013 09:26:09 -0400 Date: Tue, 9 Apr 2013 15:26:07 +0200 From: Jan Kara To: Lukas Czerner Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, Joel Becker Subject: Re: [PATCH v3 06/18] ocfs2: use ->invalidatepage() length argument Message-ID: <20130409132607.GD13672@quack.suse.cz> References: <1365498867-27782-1-git-send-email-lczerner@redhat.com> <1365498867-27782-7-git-send-email-lczerner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1365498867-27782-7-git-send-email-lczerner@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 44 On Tue 09-04-13 11:14:15, Lukas Czerner wrote: > ->invalidatepage() aop now accepts range to invalidate so we can make > use of it in ocfs2_invalidatepage(). Looks good. You can add: Reviewed-by: Jan Kara Honza > > Signed-off-by: Lukas Czerner > Cc: Joel Becker > --- > fs/ocfs2/aops.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c > index 7c47755..79736a2 100644 > --- a/fs/ocfs2/aops.c > +++ b/fs/ocfs2/aops.c > @@ -608,8 +608,7 @@ static void ocfs2_invalidatepage(struct page *page, unsigned int offset, > { > journal_t *journal = OCFS2_SB(page->mapping->host->i_sb)->journal->j_journal; > > - jbd2_journal_invalidatepage(journal, page, offset, > - PAGE_CACHE_SIZE - offset); > + jbd2_journal_invalidatepage(journal, page, offset, length); > } > > static int ocfs2_releasepage(struct page *page, gfp_t wait) > -- > 1.7.7.6 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Jan Kara SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/