Re: [PATCH 16/22][RFC] Unionfs: Handling of stale inodes

Jan Engelhardt
2006-09-04T07:43:25Z

>+static void *stale_follow_link(struct dentry *dent, struct nameidata *nd)
>+{
>+ int err = vfs_follow_link(nd, ERR_PTR(-ESTALE));
>+ return ERR_PTR(err);
>+}

{
return ERR_PTR(vfs_follow_link(nd, ERR_PTR(-ESTALE)));
}?

>+#define ESTALE_ERROR ((void *) (return_ESTALE))

#define ESTALE_ERROR ((void *)return_ESTALE)

That really looks BSDish, violating the number of args ;-)

Jan Engelhardt
--

--
VGER BF report: H 0