arla-0.90 on NetBSD 3.x, small syntax fix and what will need to be done
"Jonathan A. Kollasch" <[email protected]>
| Newsgroups | gmane.comp.file-systems.arla.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On line 99 of arla-0.90/nnpfs/bsd/nnpfs_vnodeops-bsd.c,
return nnpfs_fsync_common(ap->a_vp, ap->a_cred, NULL, ap->a_flags, NNPFS_AP_PROC(ap);
there is a missing ")" before the ";".
After fixing that, it will successfully build on NetBSD 3.0.1, but the modload
finds undefined symbols, nnpfs_dev_msleep, nnpfs_getpages, nnpfs_putpages.
I tried implementing these, and succeeded in getting everything going,
but the data of files in AFS was totally corrupt, so I'm betting I did
something wrong. :]
the msleep function is probably trivial:
(nnpfs_dev-netbsd.c)
int
nnpfs_dev_msleep(struct nnpfs *chan, caddr_t waitobj, int flags, const char *msg
)
{
int ret;
ret = nnpfs_msleep(waitobj, &chan->dev_lock, flags, msg);
return ret;
}
however, for the (get|put)pages, I basically modified what
was there for FreeBSD, but I'm nearly sure I did something
very wrong here.
Anyway, thanks for all the work.
Jonathan Kollasch
_______________________________________________
Arla-drinkers mailing list
[email protected]
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iD8DBQFFpnNLOjx1ye3hmokRAgooAJ92zSQi8q7t0kAdWtw29HW4A+nIngCfQknv +zSgxrkmEpNbB1sm+DGW8Uk= =RMXB -----END PGP SIGNATURE-----