lkml.org 
[lkml]   [2006]   [Sep]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 4 Sep 2006 09:39:29 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: [PATCH 16/22][RFC] Unionfs: Handling of stale inodes
>+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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-04 09:45    [from the cache]
©2003-2008