2 * linux/fs/sysv/symlink.c
4 * Handling of System V filesystem fast symlinks extensions.
5 * Aug 2001, Christoph Hellwig (hch@infradead.org)
10 static int sysv_readlink(struct dentry *dentry, char *buffer, int buflen)
12 char *s = (char *)SYSV_I(dentry->d_inode)->i_data;
13 return vfs_readlink(dentry, buffer, buflen, s);
16 static int sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
18 char *s = (char *)SYSV_I(dentry->d_inode)->i_data;
19 return vfs_follow_link(nd, s);
22 struct inode_operations sysv_fast_symlink_inode_operations = {
23 .readlink = sysv_readlink,
24 .follow_link = sysv_follow_link,