Import 2.3.35pre2
[davej-history.git] / fs / qnx4 / symlinks.c
blob827b837eecced0e82498dfad103eaa2a8304b55b
1 /*
2 * QNX4 file system, Linux implementation.
3 *
4 * Version : 0.2.1
5 *
6 * Using parts of the xiafs filesystem.
7 *
8 * History :
9 *
10 * 28-05-1998 by Richard Frowijn : first release.
11 * 21-06-1998 by Frank Denis : ugly changes to make it compile on Linux 2.1.99+
14 /* THIS FILE HAS TO BE REWRITTEN */
16 #include <linux/string.h>
17 #include <linux/errno.h>
18 #include <linux/sched.h>
19 #include <linux/fs.h>
20 #include <linux/qnx4_fs.h>
21 #include <linux/stat.h>
23 #include <asm/segment.h>
24 #include <asm/uaccess.h>
26 static int qnx4_readlink(struct dentry *, char *, int);
27 static struct dentry *qnx4_follow_link(struct dentry *, struct dentry *, unsigned int follow);
30 * symlinks can't do much...
32 struct inode_operations qnx4_symlink_inode_operations =
34 readlink: page_readlink,
35 follow_link: page_follow_link,
36 get_block: qnx4_get_block,
37 readpage: block_read_full_page,