Hi Edward, Le 02/02/2010 02:56, Edward Shishkin a écrit : > . add reiser4 implementation of ->writeback_inodes() > super operation; > . cleanup comments. > > Signed-off-by: Edward Shishkin <edward.shishkin@xxxxxxxxx> > --- > fs/reiser4/context.c | 3 +- > fs/reiser4/context.h | 2 - > fs/reiser4/entd.c | 7 ++++-- > fs/reiser4/page_cache.c | 12 +++++------ > fs/reiser4/super_ops.c | 49 +++++++++++++++++++++++++++++------------------- > fs/reiser4/txnmgr.c | 2 - > 6 files changed, 45 insertions(+), 30 deletions(-) > [...] > > Index: linux-2.6.33-rc5-mm1/fs/reiser4/super_ops.c > =================================================================== > --- linux-2.6.33-rc5-mm1.orig/fs/reiser4/super_ops.c > +++ linux-2.6.33-rc5-mm1/fs/reiser4/super_ops.c > @@ -379,48 +379,59 @@ static void reiser4_clear_inode(struct i [...] > -static void reiser4_sync_inodes(struct super_block *super, > - struct writeback_control *wbc) > +static int reiser4_writeback_inodes(struct super_block *super, > + struct bdi_writeback *wb, > + struct writeback_control *wbc) > { > - reiser4_context *ctx; > + int ret; > long to_write; > + reiser4_context *ctx; > > if (wbc->for_kupdate) > /* reiser4 has its own means of periodical write-out */ > - return; > - > - to_write = wbc->nr_to_write; > + goto skip; > assert("vs-49", wbc->older_than_this == NULL); > > + spin_unlock(&inode_lock); It seems that reiser4 can't be built as a module because of these access to inode_lock... Kernel: arch/x86/boot/bzImage is ready (#13) Building modules, stage 2. MODPOST 188 modules ERROR: "inode_lock" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Erreur 1 make: *** [modules] Erreur 2 ~~ laurent -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html