Skip to contentSkip to conversation

build fix for fs/9p/cache.c

PATCH New Xiaotian Feng 1 participant 1 message Dec 1, 2009 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build fix for fs/9p/cache.c

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.

---
 fs/9p/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/9p/cache.c +1 -1
index bcc5357..e777961 100644
@@ -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)
Signature · 1 line
1.6.5.2