patch-2.1.78 linux/fs/smbfs/dir.c

Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/romfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.77/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -89,7 +89,7 @@
 	/*
 	 * Make sure our inode is up-to-date.
 	 */
-	result = smb_revalidate_inode(dir);
+	result = smb_revalidate_inode(dentry);
 	if (result)
 		goto out;
 	/*
@@ -183,7 +183,7 @@
 	}
 
 	if (server->conn_pid)
-		error = smb_revalidate_inode(dir);
+		error = smb_revalidate_inode(dentry);
 	return error;
 }
 
@@ -235,7 +235,7 @@
 #endif
 			valid = 0;
 		} else if (!valid)
-			valid = (smb_revalidate_inode(inode) == 0);
+			valid = (smb_revalidate_inode(dentry) == 0);
 	} else
 	{
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov