nfsroot compile broken in 2.6.9-rc1?

From: Ray Lehtiniemi
Date: Tue Aug 24 2004 - 11:52:53 EST



hi folks

just pulled the latest changes, and it seems nfsroot no longer
compiles:

CC fs/nfs/nfsroot.o
fs/nfs/nfsroot.c: In function `root_nfs_get_handle':
fs/nfs/nfsroot.c:499: error: cannot convert to a pointer type
fs/nfs/nfsroot.c:499: error: cannot convert to a pointer type
make[2]: *** [fs/nfs/nfsroot.o] Error 1


i'm no bitkeeper expert yet, but it seems that this change:

ChangeSet 1.1803.109.17 2004/08/23 18:16:26 trond.myklebust@xxxxxxxxxx

may not be complete...

this patch compiles and boots for me...

===== fs/nfs/nfsroot.c 1.20 vs edited =====
--- 1.20/fs/nfs/nfsroot.c 2004-06-08 15:47:11 -06:00
+++ edited/fs/nfs/nfsroot.c 2004-08-24 10:26:29 -06:00
@@ -496,7 +496,7 @@
printk(KERN_ERR "Root-NFS: Server returned error %d "
"while mounting %s\n", status, nfs_path);
else
- nfs_copy_fh(nfs_data.root, fh);
+ nfs_copy_fh((struct nfs_fh *)&nfs_data.root, (struct nfs_fh *)&fh);

return status;
}



please cc me on replies, as i'm not subscribed.

thanks

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