Add ntfs_volume->sb pointer for kernel porting easyness (it is really only

for benefit of being able to call ntfs_error(vol->sb, blah...);

(Logical change 1.538)
edge.strict_endians
cantab.net!aia21 2004-09-09 07:54:06 +00:00
parent d6fc63d0b1
commit 44fa8df74b
1 changed files with 5 additions and 1 deletions

View File

@ -102,7 +102,11 @@ typedef enum {
* ntfs_volume - structure describing an open volume in memory
*/
struct _ntfs_volume {
struct ntfs_device *dev;/* NTFS device associated with the volume. */
union {
struct ntfs_device *dev; /* NTFS device associated with
the volume. */
void *sb; /* For kernel porting compatibility. */
};
char *vol_name; /* Name of the volume. */
unsigned long state; /* NTFS specific flags describing this volume.
See ntfs_volume_state_bits above. */