linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH 2.6.13-rc7-mm1] v9fs: adjust follow_link and put_link to match new VFS API
@ 2005-08-28 21:35 Eric Van Hensbergen
  0 siblings, 0 replies; only message in thread
From: Eric Van Hensbergen @ 2005-08-28 21:35 UTC (permalink / raw)
  To: Linux FS Devel, V9FS Developers, Linux Kernel, Andrew Morton

[PATCH] v9fs: adjust follow_link and put_link to match new VFS API

In 2.6.13-rc7 the prototypes for follow_link and put_link were changed
to include support for a cookie to help reclaim resources.  This patch
adjusts their definitions in the v9fs implementation.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

---
commit 30bdd61e96418043a07d2da71bcd757a0341113f
tree 3e268ece4b911b960b47b47182972d8f439667da
parent e189afc5ed8102a56f74cb5be91a6bf3e478a06a
author Eric Van Hensbergen <ericvh@gmail.com> Sun, 28 Aug 2005 16:33:42
-0500
committer Eric Van Hensbergen <ericvh@gmail.com> Sun, 28 Aug 2005
16:33:42 -0500

 fs/9p/vfs_inode.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -1089,7 +1089,7 @@ static int v9fs_vfs_readlink(struct dent
  *
  */
 
-static int v9fs_vfs_follow_link(struct dentry *dentry, struct nameidata
*nd)
+static void *v9fs_vfs_follow_link(struct dentry *dentry, struct
nameidata *nd)
 {
 	int len = 0;
 	char *link = __getname();
@@ -1109,7 +1109,7 @@ static int v9fs_vfs_follow_link(struct d
 	}
 	nd_set_link(nd, link);
 
-	return 0;
+	return NULL;
 }
 
 /**
@@ -1119,7 +1119,7 @@ static int v9fs_vfs_follow_link(struct d
  *
  */
 
-static void v9fs_vfs_put_link(struct dentry *dentry, struct nameidata
*nd)
+static void v9fs_vfs_put_link(struct dentry *dentry, struct nameidata
*nd, void *p)
 {
 	char *s = nd_get_link(nd);
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-28 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28 21:35 PATCH 2.6.13-rc7-mm1] v9fs: adjust follow_link and put_link to match new VFS API Eric Van Hensbergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).