Hi all -
As has been apparent from previous posts, our users are often able to
discover nfs-related bugs before we do, due to the wide variety of
environments in which the testing can happen.
A change was made a while back to add the fh_to_dentry / dentry_to_fh
superblock operations to XFS, which are used for knfsd. The change was
quickly #ifdef'd out again when problems cropped up.
Some changes have been made since then, and if some brave NFS users
could do a bit of testing with this patch (which re-enables the
methods), we'd greatly appreciate reports of success or failure.
(Please test this against a fresh CVS checkout from today.)
Thanks,
-Eric
--- /linux/fs/xfs/linux/xfs_super.c_1.167 Mon May 6 13:09:29 2002
+++ linux/fs/xfs/linux/xfs_super.c Mon May 6 13:09:23 2002
@@ -826,7 +826,7 @@
return 0;
}
-#if 0
+#if 1
STATIC int linvfs_dentry_to_fh(
struct dentry *dentry,
__u32 *data,
@@ -935,7 +935,7 @@
statfs: linvfs_statfs,
remount_fs: linvfs_remount,
-#if 0
+#if 1
fh_to_dentry: linvfs_fh_to_dentry,
dentry_to_fh: linvfs_dentry_to_fh,
#endif
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc.
|