Re: NFS/ReiserFS problems 2.5.64-mbj1

From: Thomas Schlichter (schlicht@uni-mannheim.de)
Date: Fri Mar 28 2003 - 05:57:42 EST


On Mar 27, 2003 18:07, Oleg Drokin wrote:
> sb->s_export_op->find_exported_dentry is NULL
> in reiserfs_decode_fh, well. In fact we never set this field at all.
> What is supposed to be there, anyway?
> I guess following patch should fix the problem.

Yes, it did fix the problem, but now I was not allowed anymore to compile NFS
as a module as I need reiserfs to be in the kernel... :-(

> In fact I guess somebody should put find_exported_dentry() declaration to
> include/linux/fs.h or something like that.
> Also absolutely the same problem must exist if you try to export fat
filesystem.

That is true, too. I saw the Oops with a VFAT partition, too

I just wonder why the code in fs/nfsd/export.c lines 684-687 does not work.
This code should set the find_exported_dentry field correctly. But I do not
know when this function (exp_export()) is called...

Regards
      Thomas



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:31 EST