mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] build fix for fs/9p/cache.c
@ 2009-12-01  6:44 Xiaotian Feng
  0 siblings, 0 replies; only message in thread
From: Xiaotian Feng @ 2009-12-01  6:44 UTC (permalink / raw)
  To: dhowells, ericvh, rminnich, lucho, adkulkar
  Cc: v9fs-developer, linux-kernel, Xiaotian Feng

make allyesconfig, I got:

fs/9p/cache.c: In function '__v9fs_fscache_release_page':
fs/9p/cache.c:346: error: 'vnode' undeclared (first use in this function)

which is introduced by commit 201a154, fix to use the right parameters.

Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
---
 fs/9p/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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)
-- 
1.6.5.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-01  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-01  6:44 [PATCH] build fix for fs/9p/cache.c Xiaotian Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®