This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / sysv / symlink.c
1 /*
2  *  linux/fs/sysv/symlink.c
3  *
4  *  Handling of System V filesystem fast symlinks extensions.
5  *  Aug 2001, Christoph Hellwig (hch@infradead.org)
6  */
7
8 #include "sysv.h"
9
10 static int sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
11 {
12         nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data);
13         return 0;
14 }
15
16 struct inode_operations sysv_fast_symlink_inode_operations = {
17         .readlink       = generic_readlink,
18         .follow_link    = sysv_follow_link,
19 };