aboutsummaryrefslogtreecommitdiff
path: root/fs/sysv/symlink.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-02 10:37:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-10 22:18:26 -0400
commit2e03f3ea7acbee59a89ea73a696b2eb4c3145cde (patch)
tree0d9a2ad8183ff73678ee231ab93730ebff048324 /fs/sysv/symlink.c
parent0f301bd3055e86771e7c738ca009afad0964dbd2 (diff)
download96b-common-2e03f3ea7acbee59a89ea73a696b2eb4c3145cde.tar.gz
sysv: switch to simple_follow_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysv/symlink.c')
-rw-r--r--fs/sysv/symlink.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/sysv/symlink.c b/fs/sysv/symlink.c
deleted file mode 100644
index d3fa0d703314..000000000000
--- a/fs/sysv/symlink.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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,
-};