patch-2.3.50 linux/fs/proc/base.c

Next file: linux/fs/proc/generic.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/fs/proc/base.c linux/fs/proc/base.c
@@ -631,26 +631,19 @@
 
 static struct dentry_operations pid_fd_dentry_operations =
 {
-	pid_fd_revalidate,	/* revalidate */
-	NULL,			/* d_hash */
-	NULL,			/* d_compare */
-	pid_delete_dentry	/* d_delete(struct dentry *) */
+	d_revalidate:	pid_fd_revalidate,
+	d_delete:	pid_delete_dentry,
 };
 
 static struct dentry_operations pid_dentry_operations =
 {
-	NULL,			/* revalidate */
-	NULL,			/* d_hash */
-	NULL,			/* d_compare */
-	pid_delete_dentry	/* d_delete(struct dentry *) */
+	d_delete:	pid_delete_dentry,
 };
 
 static struct dentry_operations pid_base_dentry_operations =
 {
-	pid_base_revalidate,	/* revalidate */
-	NULL,			/* d_hash */
-	NULL,			/* d_compare */
-	pid_delete_dentry	/* d_delete(struct dentry *) */
+	d_revalidate:	pid_base_revalidate,
+	d_delete:	pid_delete_dentry,
 };
 
 /* Lookups */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)