staging:lustre: move LNet NID macros to LNet layer
[linux-2.6/btrfs-unstable.git] / fs / sysv / symlink.c
blobd3fa0d703314bc3dafa9b5dd6c9d34a2f2c11f1d
1 /*
2 * linux/fs/sysv/symlink.c
4 * Handling of System V filesystem fast symlinks extensions.
5 * Aug 2001, Christoph Hellwig (hch@infradead.org)
6 */
8 #include "sysv.h"
9 #include <linux/namei.h>
11 static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
13 nd_set_link(nd, (char *)SYSV_I(d_inode(dentry))->i_data);
14 return NULL;
17 const struct inode_operations sysv_fast_symlink_inode_operations = {
18 .readlink = generic_readlink,
19 .follow_link = sysv_follow_link,