From 44fa8df74bcbcc1126e964fe19e9df3f21575db2 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Thu, 9 Sep 2004 07:54:06 +0000 Subject: [PATCH] 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) --- include/ntfs/volume.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/ntfs/volume.h b/include/ntfs/volume.h index d78736d8..8191290c 100644 --- a/include/ntfs/volume.h +++ b/include/ntfs/volume.h @@ -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. */