Linus, Here are the last remaining kernel patches to support stacking, at least up to 2.3.49. As you can see, it's very small, passive stuff. Hopefully you can include it soon. I didn't include a full lofs with this patch, b/c more VFS changes are coming up soon, which will definitely require changes to the lofs templates code (but hopefully nothing to the kernel itself). Erez. ============================================================================== diff -ruN linux-2.3.49-vanilla/include/linux/fs.h linux-2.3.49-fist/include/linux/fs.h --- linux-2.3.49-vanilla/include/linux/fs.h Thu Mar 2 17:01:26 2000 +++ linux-2.3.49-fist/include/linux/fs.h Sun Mar 5 03:26:34 2000 @@ -949,6 +949,8 @@ typedef int (*read_actor_t)(read_descriptor_t *, struct page *, unsigned long, unsigned long); +/* needed for stackable file system support */ +extern loff_t default_llseek(struct file *file, loff_t offset, int origin); extern struct dentry * lookup_dentry(const char *, struct dentry *, unsigned int); extern struct dentry * __namei(const char *, unsigned int); diff -ruN linux-2.3.49-vanilla/kernel/ksyms.c linux-2.3.49-fist/kernel/ksyms.c --- linux-2.3.49-vanilla/kernel/ksyms.c Sun Feb 27 01:34:27 2000 +++ linux-2.3.49-fist/kernel/ksyms.c Tue Mar 7 04:22:28 2000 @@ -234,12 +234,12 @@ EXPORT_SYMBOL(page_symlink_inode_operations); EXPORT_SYMBOL(block_symlink); -/* for stackable file systems (lofs, wrapfs, etc.) */ -EXPORT_SYMBOL(add_to_page_cache); +/* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ +EXPORT_SYMBOL(default_llseek); EXPORT_SYMBOL(filemap_nopage); EXPORT_SYMBOL(filemap_swapout); EXPORT_SYMBOL(filemap_sync); -EXPORT_SYMBOL(remove_inode_page); +EXPORT_SYMBOL(lock_page); #if !defined(CONFIG_NFSD) && defined(CONFIG_NFSD_MODULE) EXPORT_SYMBOL(do_nfsservctl); ==============================================================================
