patch-1.3.78 linux/include/linux/loop.h
Next file: linux/include/linux/mcdx.h
Previous file: linux/include/linux/kerneld.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Mar 24 20:07:01 1996
- Orig file:
v1.3.77/linux/include/linux/loop.h
- Orig date:
Tue Mar 5 10:11:12 1996
diff -u --recursive --new-file v1.3.77/linux/include/linux/loop.h linux/include/linux/loop.h
@@ -12,6 +12,8 @@
#define LO_NAME_SIZE 64
#define LO_KEY_SIZE 32
+
+#ifdef __KERNEL__
struct loop_device {
int lo_number;
@@ -39,6 +41,9 @@
* Loop flags
*/
#define LO_FLAGS_DO_BMAP 0x00000001
+#define LO_FLAGS_READ_ONLY 0x00000002
+
+#endif /* __KERNEL__ */
struct loop_info {
int lo_number; /* ioctl r/o */
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