patch-2.3.99-pre9 linux/fs/umsdos/inode.c

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

diff -u --recursive --new-file v2.3.99-pre8/linux/fs/umsdos/inode.c linux/fs/umsdos/inode.c
@@ -367,14 +367,6 @@
 		sb->s_root = new_root;
 		printk(KERN_INFO "UMSDOS: changed to alternate root\n");
 	}
-
-	/* if d_count is not 1, mount will fail with -EBUSY! */
-	if (sb->s_root->d_count > 1) {
-		shrink_dcache_sb(sb);
-		if (sb->s_root->d_count > 1) {
-			printk(KERN_ERR "UMSDOS: root count %d > 1 !", sb->s_root->d_count);
-		}
-	}
 	return sb;
 
 out_fail:

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