patch-2.2.0-pre9 linux/fs/vfat/namei.c

Next file: linux/include/asm-alpha/semaphore.h
Previous file: linux/fs/select.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/fs/vfat/namei.c linux/fs/vfat/namei.c
@@ -1656,8 +1656,8 @@
 		} else {
 			drop_aliases(new_dentry);
 		}
+		res = vfat_remove_entry(new_dir,&sinfo,new_inode);
 	}
-	res = vfat_remove_entry(new_dir,&sinfo,new_inode);
 	if (res)
 		goto rename_done;
 

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