patch-2.4.6 linux/fs/udf/udfend.h
Next file: linux/fs/udf/udftime.c
Previous file: linux/fs/udf/udfdecl.h
Back to the patch index
Back to the overall index
-  Lines: 23
-  Date:
Mon Jun 11 19:15:27 2001
-  Orig file: 
v2.4.5/linux/fs/udf/udfend.h
-  Orig date: 
Mon Dec 11 13:27:05 2000
diff -u --recursive --new-file v2.4.5/linux/fs/udf/udfend.h linux/fs/udf/udfend.h
@@ -80,6 +80,22 @@
 	return out;
 }
 
+static inline short_ad lesa_to_cpu(short_ad in)
+{
+	short_ad out;
+	out.extLength = le32_to_cpu(in.extLength);
+	out.extPosition = le32_to_cpu(in.extPosition);
+	return out;
+}
+
+static inline short_ad cpu_to_lesa(short_ad in)
+{
+	short_ad out;
+	out.extLength = cpu_to_le32(in.extLength);
+	out.extPosition = cpu_to_le32(in.extPosition);
+	return out;
+}
+
 static inline long_ad lela_to_cpu(long_ad in)
 {
 	long_ad out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)