diff options
author | Abhijith Das <adas@redhat.com> | 2006-08-25 12:13:37 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-25 17:19:55 -0400 |
commit | 8638460540749ddb1beca9e9a68d655a6fe6df65 (patch) | |
tree | e0b0a65798185a3f00912011906c551c02777982 /fs/gfs2/incore.h | |
parent | 5f88f1ea16a2fb5f125505053d1bfb7901a88c64 (diff) |
[GFS2] Allow mounting of gfs2 and gfs2meta at the same time
This patch allows the simultaneous mounting of gfs2meta and gfs2
filesystems. A restriction however is that a gfs2meta fs may only be
mounted if its corresponding gfs2 filesystem is also mounted. Also, a
gfs2 filesystem cannot be unmounted before its gfs2meta filesystem.
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 78d3cb511eb8..77f0903d2f3e 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -472,6 +472,7 @@ enum { | |||
472 | 472 | ||
473 | struct gfs2_sbd { | 473 | struct gfs2_sbd { |
474 | struct super_block *sd_vfs; | 474 | struct super_block *sd_vfs; |
475 | struct super_block *sd_vfs_meta; | ||
475 | struct kobject sd_kobj; | 476 | struct kobject sd_kobj; |
476 | unsigned long sd_flags; /* SDF_... */ | 477 | unsigned long sd_flags; /* SDF_... */ |
477 | struct gfs2_sb sd_sb; | 478 | struct gfs2_sb sd_sb; |
@@ -652,6 +653,7 @@ struct gfs2_sbd { | |||
652 | /* Debugging crud */ | 653 | /* Debugging crud */ |
653 | 654 | ||
654 | unsigned long sd_last_warning; | 655 | unsigned long sd_last_warning; |
656 | struct vfsmount *sd_gfs2mnt; | ||
655 | }; | 657 | }; |
656 | 658 | ||
657 | #endif /* __INCORE_DOT_H__ */ | 659 | #endif /* __INCORE_DOT_H__ */ |