mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
008b150a3c
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>
21 lines
481 B
C
21 lines
481 B
C
/*
|
|
* 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>
|
|
|
|
static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
|
|
{
|
|
nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data);
|
|
return NULL;
|
|
}
|
|
|
|
struct inode_operations sysv_fast_symlink_inode_operations = {
|
|
.readlink = generic_readlink,
|
|
.follow_link = sysv_follow_link,
|
|
};
|