Skip to contentSkip to conversation

fs cache patch breaks sparc build in 2.6.18-rc4-mm2

DISCUSSION Paul Jackson 2 participants 2 messages Aug 24, 2006

lore
Share & tools
lore
#0 lore raw

The 2.6.18-rc4-mm2 patch:
fs-cache-make-kafs-use-fs-cache.patch

seems to break the arch=sparc defconfig build, failing with:

CC [M] fs/afs/file.o
fs/afs/file.c: In function `afs_file_releasepage':
fs/afs/file.c:332: error: structure has no member named `cache' make[2]: *** [fs/afs/file.o] Error 1

Looking at line numbers 326-337 in the file fs/afs/file.c, I see:

326 /* deny */
327 if (PageFsMisc(page)) {
328 _leave(" = F");
329 return 0;
330 }
331
332 fscache_uncache_page(AFS_FS_I(page->mapping->host)->cache, page);
333

334             /* indicate that the page can be released */
335             _leave(" = T");
336             return 1;

337 }

So this does seem to be the line 332 the compile is complaining about.

Signature · 3 lines
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <[email protected]> 1.925.600.0401
#1 lore raw
Quoted 1 line · Paul Jackson

Looking at line numbers 326-337 in the file fs/afs/file.c, I see:

Andrew has a patch for that (fs-cache-make-kafs-use-fs-cache-12-fix.patch).

David