Re: [PATCH 06/24] Unionfs: Dentry operations

From: Andrew Morton
Date: Mon Jan 08 2007 - 16:50:14 EST


On Sun, 7 Jan 2007 23:12:58 -0500
"Josef 'Jeff' Sipek" <jsipek@xxxxxxxxxxxxx> wrote:

> From: Josef "Jeff" Sipek <jsipek@xxxxxxxxxxxxx>
>
> This patch contains the dentry operations for Unionfs.
>
> +/* declarations added for "sparse" */
> +extern int unionfs_d_revalidate_wrap(struct dentry *dentry,
> + struct nameidata *nd);
> +extern void unionfs_d_release(struct dentry *dentry);
> +extern void unionfs_d_iput(struct dentry *dentry, struct inode *inode);

No, declarations go in header files, visible to the definition and to all
callers. (Ditto all the other places where this is done)
-
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/