aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2013-01-11 05:49:34 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2013-01-29 05:29:05 -0500
commitd564053f074634e7a966359dc97d26900fa5f52d (patch)
treef54424be9e9cff603d2a8b83be5557fc93bcf987 /fs/gfs2/incore.h
parentc76c4d96bdd89027306cebc80eb3397286d8da66 (diff)
GFS2: Clean up freeze code
The freeze code has not been looked at a lot recently. Upstream has moved on, and this is an attempt to catch us back up again. There is a vfs level interface for the freeze code which can be called from our (obsolete, but kept for backward compatibility purposes) sysfs freeze interface. This means freezing this way vs. doing it from the ioctl should now work in identical fashion. As a result of this, the freeze function is only called once and we can drop our own special purpose code for counting the number of freezes. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 5d129ab89733..19750bcb1ce7 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -757,10 +757,7 @@ struct gfs2_sbd {
757 unsigned int sd_replayed_blocks; 757 unsigned int sd_replayed_blocks;
758 758
759 /* For quiescing the filesystem */ 759 /* For quiescing the filesystem */
760
761 struct gfs2_holder sd_freeze_gh; 760 struct gfs2_holder sd_freeze_gh;
762 struct mutex sd_freeze_lock;
763 unsigned int sd_freeze_count;
764 761
765 char sd_fsname[GFS2_FSNAME_LEN]; 762 char sd_fsname[GFS2_FSNAME_LEN];
766 char sd_table_name[GFS2_FSNAME_LEN]; 763 char sd_table_name[GFS2_FSNAME_LEN];