Blame view
fs/sysv/symlink.c
487 Bytes
1da177e4c
|
1 2 3 4 5 6 7 8 9 |
/* * 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> |
008b150a3
|
10 |
static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd) |
1da177e4c
|
11 12 |
{ nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data); |
008b150a3
|
13 |
return NULL; |
1da177e4c
|
14 |
} |
c5ef1c42c
|
15 |
const struct inode_operations sysv_fast_symlink_inode_operations = { |
1da177e4c
|
16 17 18 |
.readlink = generic_readlink, .follow_link = sysv_follow_link, }; |