patch-2.3.50 linux/fs/adfs/dir.c

Next file: linux/fs/affs/namei.c
Previous file: linux/drivers/zorro/zorrosyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/fs/adfs/dir.c linux/fs/adfs/dir.c
@@ -256,12 +256,8 @@
 }
 
 struct dentry_operations adfs_dentry_operations = {
-	NULL,		/* revalidate */
-	adfs_hash,
-	adfs_compare,
-	NULL,		/* delete  = called by dput */
-	NULL,		/* release - called by d_free */
-	NULL		/* iput    - called by dentry_iput */
+	d_hash:		adfs_hash,
+	d_compare:	adfs_compare,
 };
 
 struct dentry *adfs_lookup(struct inode *dir, struct dentry *dentry)

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