mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux/fs/sysv/symlink.c in patch-2.4.10.bz2
@ 2001-09-26 21:15 Eric Van Buggenhaut
  0 siblings, 0 replies; only message in thread
From: Eric Van Buggenhaut @ 2001-09-26 21:15 UTC (permalink / raw)
  To: linux-kernel

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 !


diff -u --recursive --new-file v2.4.9/linux/fs/sysv/symlink.c linux/fs/sysv/symlink.c
--- v2.4.9/linux/fs/sysv/symlink.c  Wed Dec 31 16:00:00 1969
+++ linux/fs/sysv/symlink.c Sun Sep  2 10:34:36 2001
@@ -0,0 +1,25 @@
+/*
+ *  linux/fs/sysv/symlink.c
+ *
+ *  Handling of System V filesystem fast symlinks extensions.
+ *  Aug 2001, Christoph Hellwig (hch@caldera.de)
+ */
+
+#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.

-- 
Eric VAN BUGGENHAUT

Eric.VanBuggenhaut@AdValvas.be

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-26 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-26 21:15 linux/fs/sysv/symlink.c in patch-2.4.10.bz2 Eric Van Buggenhaut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®