From c161a9b33edfbedb334d783991c199fe8b7c32d3 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Mon, 26 May 2003 12:58:41 +0000 Subject: [PATCH] Just so it compiles for now until we finish the switch to *dev. 2003/05/25 21:04:53+01:00 cantab.net!aia21 Abstract low level device operations. (Logical change 1.136) --- include/volume.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/volume.h b/include/volume.h index 4820cfd5..bf40633f 100644 --- a/include/volume.h +++ b/include/volume.h @@ -35,6 +35,7 @@ typedef struct _ntfs_volume ntfs_volume; #include "types.h" #include "support.h" #include "inode.h" +#include "device.h" /* * Flags returned by the ntfs_check_if_mounted() function. @@ -86,8 +87,9 @@ typedef enum { * ntfs_volume - structure describing an open volume in memory */ struct _ntfs_volume { - int fd; /* File descriptor associated with volume. */ - char *dev_name; /* Name of the device/file the volume is in. */ + int fd; //FIXME: Remove this. -> Use *dev instead. + char *dev_name; //FIXME: Remove this. -> Use *dev instead. + struct ntfs_device *dev;/* NTFS device associated with the volume. */ char *vol_name; /* Name of the volume. */ unsigned long state; /* NTFS specific flags describing this volume. See ntfs_volume_state_bits above. */ @@ -165,4 +167,3 @@ extern int ntfs_volume_set_flags(ntfs_volume *v, const u16 flags); #endif /* defined _NTFS_VOLUME_H */ -