Missing snippet from 2.1.129-pre2

Steven N. Hirsch (shirsch@adelphia.net)
Sun, 15 Nov 1998 22:05:16 -0500 (EST)


Linus,

Looks like this was overlooked:

--- linux/fs/proc/fd.c.orig Sun Nov 15 22:02:37 1998
+++ linux/fs/proc/fd.c Sun Nov 15 22:03:03 1998
@@ -59,6 +59,26 @@
};

/*
+ * As some entries in /proc are volatile, we want to
+ * get rid of unused dentries. This could be made
+ * smarter: we could keep a "volatile" flag in the
+ * inode to indicate which ones to keep.
+ */
+static void
+proc_delete_dentry(struct dentry * dentry)
+{
+ d_drop(dentry);
+}
+
+static struct dentry_operations proc_dentry_operations =
+{
+ NULL, /* revalidate */
+ NULL, /* d_hash */
+ NULL, /* d_compare */
+ proc_delete_dentry /* d_delete(struct dentry *) */
+};
+
+/*
* NOTE! Normally we'd indicate that a file does not
* exist by creating a negative dentry and returning
* a successful return code. However, for this case

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/