Fix up fuse_follow_link() and fuse_put_link() to conform to the new API.
Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
Index: linux/fs/fuse/dir.c
===================================================================
--- linux.orig/fs/fuse/dir.c 2005-08-23 21:16:52.000000000 +0200
+++ linux/fs/fuse/dir.c 2005-08-23 21:18:24.000000000 +0200
@@ -596,13 +596,13 @@ static void free_link(char *link)
free_page((unsigned long) link);
}
-static int fuse_follow_link(struct dentry *dentry, struct nameidata *nd)
+static void *fuse_follow_link(struct dentry *dentry, struct nameidata *nd)
{
nd_set_link(nd, read_link(dentry));
- return 0;
+ return NULL;
}
-static void fuse_put_link(struct dentry *dentry, struct nameidata *nd)
+static void fuse_put_link(struct dentry *dentry, struct nameidata *nd, void *c)
{
free_link(nd_get_link(nd));
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/