Commit 6f054164 authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

9p: fix build breakage introduced by FS-Cache

While building 2.6.32-rc8-git2 for Fedora I noticed the following thinko
in commit 201a1542

 ("FS-Cache: Handle
pages pending storage that get evicted under OOM conditions"):

  fs/9p/cache.c: In function '__v9fs_fscache_release_page':
  fs/9p/cache.c:346: error: 'vnode' undeclared (first use in this function)
  fs/9p/cache.c:346: error: (Each undeclared identifier is reported only once
  fs/9p/cache.c:346: error: for each function it appears in.)
  make[2]: *** [fs/9p/cache.o] Error 1

Fix the 9P filesystem to correctly construct the argument to
Signed-off-by: default avatarKyle McMartin <>
Signed-off-by: Xiaotian Feng <> [from identical patch]
Signed-off-by: Stefan Lippers-Hollmann <> [from identical patch]
Signed-off-by: default avatarDavid Howells <>
Signed-off-by: default avatarLinus Torvalds <>
parent 29e55363
......@@ -343,7 +343,7 @@ int __v9fs_fscache_release_page(struct page *page, gfp_t gfp)
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment