patch-2.3.29 linux/fs/udf/lowlevel.c

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

diff -u --recursive --new-file v2.3.28/linux/fs/udf/lowlevel.c linux/fs/udf/lowlevel.c
@@ -123,7 +123,7 @@
 			BLKGETSIZE,
 			(unsigned long) &lblock);
 
-		if (!ret) /* Hard Disk */
+		if (!ret && lblock != 0x7FFFFFFF) /* Hard Disk */
 		{
 			if (mult)
 				lblock *= mult;

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