patch-2.0.1 linux/fs/umsdos/namei.c

Next file: linux/fs/vfat/namei.c
Previous file: linux/fs/umsdos/ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/fs/umsdos/namei.c linux/fs/umsdos/namei.c
@@ -353,7 +353,8 @@
 						ret = msdos_rename (old_dir
 								    ,old_info.fake.fname,old_info.fake.len
 								    ,new_dir
-								    ,new_info.fake.fname,new_info.fake.len);
+								    ,new_info.fake.fname,new_info.fake.len
+								    ,0);
 chkstk();
 						PRINTK (("after m_rename ret %d ",ret));
 						if (ret != 0){
@@ -1014,7 +1015,8 @@
 	int old_len,
 	struct inode * new_dir,
 	const char * new_name,
-	int new_len)
+	int new_len,
+	int must_be_dir)
 {
 	/* #Specification: weakness / rename
 		There is a case where UMSDOS rename has a different behavior

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