Re: [ANNOUNCE] inotify 0.18

2005-01-26 Thread Robert Love
On Tue, 2005-01-25 at 16:29 -0500, Mike Waychison wrote: > How about inotify hold on to the nameidata until it is sure to have > updated the watches? That way, the inode will be seen by > inotify_super_block_umount when called by generic_shutdown_super. I was chatting with John as soon as Al poi

Re: [ANNOUNCE] inotify 0.18

2005-01-25 Thread Mike Waychison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al Viro wrote: > +static struct inode * find_inode(const char __user *dirname) > +{ > + struct inode *inode; > + struct nameidata nd; > + int error; > + > + error = __user_walk(dirname, LOOKUP_FOLLOW, &nd); > + if (error) > +

Re: [ANNOUNCE] inotify 0.18

2005-01-25 Thread Al Viro
On Tue, Jan 25, 2005 at 02:41:52PM -0500, John McCutchan wrote: > Hello, > > Announcing release 0.18.0 of inotify. ... and cross-posting it to moderated list. How nice... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

Re: [ANNOUNCE] inotify 0.18

2005-01-25 Thread Al Viro
+static struct inode * find_inode(const char __user *dirname) +{ + struct inode *inode; + struct nameidata nd; + int error; + + error = __user_walk(dirname, LOOKUP_FOLLOW, &nd); + if (error) + return ERR_PTR(error); + + inode = nd.dentry->d_inode; +