From patchwork Tue Dec 1 13:11:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Lippers-Hollmann X-Patchwork-Id: 63942 X-Patchwork-Delegate: ericvh@gmail.com Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB1DBeb3031601 for ; Tue, 1 Dec 2009 13:11:41 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NFSVx-0006dY-Km; Tue, 01 Dec 2009 13:11:33 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NFSVv-0006dB-Qs for v9fs-developer@lists.sourceforge.net; Tue, 01 Dec 2009 13:11:31 +0000 Received-SPF: pass (sfi-mx-1.v28.ch3.sourceforge.com: domain of gmx.de designates 213.165.64.20 as permitted sender) client-ip=213.165.64.20; envelope-from=s.L-H@gmx.de; helo=mail.gmx.net; Received: from mail.gmx.net ([213.165.64.20]) by sfi-mx-1.v28.ch3.sourceforge.com with smtp (Exim 4.69) id 1NFSVn-0004eb-TA for v9fs-developer@lists.sourceforge.net; Tue, 01 Dec 2009 13:11:31 +0000 Received: (qmail invoked by alias); 01 Dec 2009 13:11:14 -0000 Received: from p508F52E3.dip.t-dialin.net (EHLO salyut.localnet) [80.143.82.227] by mail.gmx.net (mp047) with SMTP; 01 Dec 2009 14:11:14 +0100 X-Authenticated: #1587495 X-Provags-ID: V01U2FsdGVkX180ZGd9+WM08D9lONKHdSnQOanOWj4oXulVZ9zx60 K7kZv1yYmjOADf From: "Stefan Lippers-Hollmann" To: David Howells Date: Tue, 1 Dec 2009 14:11:10 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.32-rc8-sidux-amd64; KDE/4.3.2; x86_64; ; ) References: <200911302259.nAUMx9Ij031249@hera.kernel.org> In-Reply-To: <200911302259.nAUMx9Ij031249@hera.kernel.org> MIME-Version: 1.0 Message-Id: <200912011411.12570.s.L-H@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46 X-Spam-Score: -2.4 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.8 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NFSVn-0004eb-TA Cc: v9fs-developer@lists.sourceforge.net, Linus Torvalds , Linux Kernel Mailing List Subject: Re: [V9fs-developer] FS-Cache: Handle pages pending storage that get evicted under OOM conditions X-BeenThere: v9fs-developer@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: v9fs-developer-bounces@lists.sourceforge.net diff --git a/fs/9p/cache.c b/fs/9p/cache.c index bcc5357..e777961 100644 --- a/fs/9p/cache.c +++ b/fs/9p/cache.c @@ -343,7 +343,7 @@ int __v9fs_fscache_release_page(struct page *page, gfp_t gfp) BUG_ON(!vcookie->fscache); - return fscache_maybe_release_page(vnode->cache, page, gfp); + return fscache_maybe_release_page(vcookie->fscache, page, gfp); } void __v9fs_fscache_invalidate_page(struct page *page)