patch-2.2.7 linux/fs/autofs/dir.c

Next file: linux/fs/autofs/root.c
Previous file: linux/fs/affs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.6/linux/fs/autofs/dir.c linux/fs/autofs/dir.c
@@ -38,10 +38,10 @@
 /*
  * No entries except for "." and "..", both of which are handled by the VFS layer
  */
-static int autofs_dir_lookup(struct inode *dir, struct dentry * dentry)
+static struct dentry *autofs_dir_lookup(struct inode *dir,struct dentry *dentry)
 {
 	d_add(dentry, NULL);
-	return 0;
+	return NULL;
 }
 
 static struct file_operations autofs_dir_operations = {

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