[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100126153222.GI3187@quack.suse.cz>
Date: Tue, 26 Jan 2010 16:32:22 +0100
From: Jan Kara <jack@...e.cz>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: Jan Kara <jack@...e.cz>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
tytso@....edu
Subject: Re: ext4_da_block_invalidatepages() question
Hi,
On Tue 26-01-10 21:36:08, Wu Fengguang wrote:
> I noticed that ext4_da_block_invalidatepages() does pagevec_lookup()
> without pagevec_release()/put_page(). Is that OK?
Yes, the function looks buggy. Luckily, it is called only in case we are
not able to allocate space for delay-allocated data which is a bug on its
own. So people should never hit it.
Attached patch should fix the issue. Ted, will you merge it please?
Thanks.
Honza
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
View attachment "0001-ext4-Release-page-references-acquired-in-ext4_da_blo.patch" of type "text/x-patch" (1346 bytes)
Powered by blists - more mailing lists