2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* linux/fs/sysv/symlink.c
|
|
|
|
*
|
|
|
|
* Handling of System V filesystem fast symlinks extensions.
|
|
|
|
* Aug 2001, Christoph Hellwig (hch@infradead.org)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sysv.h"
|
|
|
|
#include <linux/namei.h>
|
|
|
|
|
[PATCH] Fix up symlink function pointers
This fixes up the symlink functions for the calling convention change:
* afs, autofs4, befs, devfs, freevxfs, jffs2, jfs, ncpfs, procfs,
smbfs, sysvfs, ufs, xfs - prototype change for ->follow_link()
* befs, smbfs, xfs - same for ->put_link()
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-20 01:17:39 +02:00
|
|
|
static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
|
2005-04-17 00:20:36 +02:00
|
|
|
{
|
|
|
|
nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data);
|
[PATCH] Fix up symlink function pointers
This fixes up the symlink functions for the calling convention change:
* afs, autofs4, befs, devfs, freevxfs, jffs2, jfs, ncpfs, procfs,
smbfs, sysvfs, ufs, xfs - prototype change for ->follow_link()
* befs, smbfs, xfs - same for ->put_link()
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-20 01:17:39 +02:00
|
|
|
return NULL;
|
2005-04-17 00:20:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
struct inode_operations sysv_fast_symlink_inode_operations = {
|
|
|
|
.readlink = generic_readlink,
|
|
|
|
.follow_link = sysv_follow_link,
|
|
|
|
};
|