Skip to contentSkip to conversation

linux/fs/sysv/symlink.c in patch-2.4.10.bz2

PATCH Eric Van Buggenhaut 1 participant 1 message Sep 26, 2001

lore
Share & tools
lore
#0 lore raw

patch-2.4.10.bz2 pretends to install a new file

linux/fs/sysv/symlink.c

which already exists in 2.4.9.

I also notice v2.4.9 is dated ... Wed Dec 31 16:00:00 1969

Woaw I didn't realize I had been playing with linux for so long !

fs/sysv/symlink.c Sun Sep 2 10:34:36 2001 renamed from linux/fs/sysv/symlink.c Wed Dec 31 16:00:00 1969 +25 -0
diff -u --recursive --new-file v2.4.9/linux/fs/sysv/symlink.c linux/fs/sysv/symlink.c
@@ -0,0 +1,25 @@
+/*
+ *  linux/fs/sysv/symlink.c
+ *
+ *  Handling of System V filesystem fast symlinks extensions.
+ *  Aug 2001, Christoph Hellwig ([email protected])
+ */
+
+#include <linux/fs.h>
+
+static int sysv_readlink(struct dentry *dentry, char *buffer, int buflen)
+{
+   char *s = (char *)dentry->d_inode->u.sysv_i.i_data;
+   return vfs_readlink(dentry, buffer, buflen, s);
+}
+
+static int sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
+{
+   char *s = (char *)dentry->d_inode->u.sysv_i.i_data;
+   return vfs_follow_link(nd, s);
+}
+
+struct inode_operations sysv_fast_symlink_inode_operations = {
+   readlink:   sysv_readlink,
+   follow_link:    sysv_follow_link,
+};

diff -u --recursive --new-file v2.4.9/linux/fs/ufs/balloc.c linux/fs/ufs/balloc.c

Should 2.4.9 be remove before installing 2.4.10 ?

Thanks.

Signature · 3 lines
Eric VAN BUGGENHAUT

[email protected]