On Sun, Sep 18, 2005 at 04:10:07PM +0200, Paolo 'Blaisorblade' Giarrusso wrote:
> +static int hppfs_d_revalidate(struct dentry * dentry, struct nameidata * nd)
> +{
> + int (*d_revalidate)(struct dentry *, struct nameidata *);
> + struct dentry *proc_dentry;
> +
> + proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry;
> + if (proc_dentry->d_op && proc_dentry->d_op->d_revalidate)
> + d_revalidate = proc_dentry->d_op->d_revalidate;
> + else
> + return 1; /* "Still valid" code */
> +
> + return (*d_revalidate)(proc_dentry, nd);
> +}
Ahem... Guess what that will do with negative dentry?
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel