From: Alexander V. <av...@re...> - 2000-08-29 19:52:00
|
On Tue, 29 Aug 2000, Rik Faith wrote: > On Tue 29 Aug 2000 20:48:32 +0100, > Tigran Aivazian <ti...@ve...> wrote: > > > > but I see absolutely no point in doing that. First of all, > > > > lookup_single() is way simpler. > > > > > > what is lookup_single? > > > > Ok, I see, you meant lookup_one(). So we just do > > > > lookup_one("dri", proc_mnt->mnt_root, right? > > > > If it is _this_ simple, thank you very much, Alexander! > > So, shall I ask Linus to export proc_mnt? Wait with that. a) I'll post preliminary template for drmfs tomorrow and it may be easier than playing with proc b) exporting is a one-way road. We may want to export something of that kind, but I'ld rather think about the choice a bit. And yes, lookup_single() is a silly typo. Sorry. You need to get ->i_sem on the parent, though - check the shm code for exaples of use. |