Blame view
fs/sysv/symlink.c
487 Bytes
1da177e4c Linux-2.6.12-rc2 |
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 [PATCH] Fix up sy... |
10 |
static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd) |
1da177e4c Linux-2.6.12-rc2 |
11 12 |
{ nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data); |
008b150a3 [PATCH] Fix up sy... |
13 |
return NULL; |
1da177e4c Linux-2.6.12-rc2 |
14 |
} |
c5ef1c42c [PATCH] mark stru... |
15 |
const struct inode_operations sysv_fast_symlink_inode_operations = { |
1da177e4c Linux-2.6.12-rc2 |
16 17 18 |
.readlink = generic_readlink, .follow_link = sysv_follow_link, }; |