mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 10:26:43 +07:00
2b0143b5c9
that's the bulk of filesystem drivers dealing with inodes of their own Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
21 lines
487 B
C
21 lines
487 B
C
/*
|
|
* 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>
|
|
|
|
static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
|
|
{
|
|
nd_set_link(nd, (char *)SYSV_I(d_inode(dentry))->i_data);
|
|
return NULL;
|
|
}
|
|
|
|
const struct inode_operations sysv_fast_symlink_inode_operations = {
|
|
.readlink = generic_readlink,
|
|
.follow_link = sysv_follow_link,
|
|
};
|