patch-1.3.28 linux/fs/msdos/namei.c

Next file: linux/fs/namei.c
Previous file: linux/fs/msdos/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/fs/msdos/namei.c linux/fs/msdos/namei.c
@@ -368,7 +368,8 @@
 	res = -ENOTDIR;
 	if (!S_ISDIR(inode->i_mode)) goto rmdir_done;
 	res = -EBUSY;
-	if (dir->i_dev != inode->i_dev || dir == inode) goto rmdir_done;
+	if (dir->i_dev != inode->i_dev || dir == inode)
+	  goto rmdir_done;
 	res = msdos_empty(inode);
 	if (res)
 		goto rmdir_done;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this