patch-2.3.49 linux/fs/udf/misc.c

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

diff -u --recursive --new-file v2.3.48/linux/fs/udf/misc.c linux/fs/udf/misc.c
@@ -69,7 +69,7 @@
 extern struct buffer_head *
 udf_tread(struct super_block *sb, int block, int size)
 {
-	if (UDF_SB(sb)->s_flags & UDF_FLAG_VARCONV)
+	if (UDF_QUERY_FLAG(sb, UDF_FLAG_VARCONV))
 		return bread(sb->s_dev, udf_fixed_to_variable(block), size);
 	else
 		return bread(sb->s_dev, block, size);

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