aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_fs.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2009-03-30 14:02:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 15:16:35 -0400
commit702d21c6f6c790b12c4820cd2f29bc8472aed633 (patch)
treeeaed957de4e319dc0083fa66e7614f99a10fda89 /include/linux/reiserfs_fs.h
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff)
reiserfs: add support for mount count incrementing
The following patch adds the fields for tracking mount counts and last fsck timestamps to the superblock. It also increments the mount count on every read-write mount. Reiserfsprogs 3.6.21 added support for these fields. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r--include/linux/reiserfs_fs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
index bc5114d35e99..ab748a03fe97 100644
--- a/include/linux/reiserfs_fs.h
+++ b/include/linux/reiserfs_fs.h
@@ -171,7 +171,11 @@ struct reiserfs_super_block {
171 __le32 s_flags; /* Right now used only by inode-attributes, if enabled */ 171 __le32 s_flags; /* Right now used only by inode-attributes, if enabled */
172 unsigned char s_uuid[16]; /* filesystem unique identifier */ 172 unsigned char s_uuid[16]; /* filesystem unique identifier */
173 unsigned char s_label[16]; /* filesystem volume label */ 173 unsigned char s_label[16]; /* filesystem volume label */
174 char s_unused[88]; /* zero filled by mkreiserfs and 174 __le16 s_mnt_count; /* Count of mounts since last fsck */
175 __le16 s_max_mnt_count; /* Maximum mounts before check */
176 __le32 s_lastcheck; /* Timestamp of last fsck */
177 __le32 s_check_interval; /* Interval between checks */
178 char s_unused[76]; /* zero filled by mkreiserfs and
175 * reiserfs_convert_objectid_map_v1() 179 * reiserfs_convert_objectid_map_v1()
176 * so any additions must be updated 180 * so any additions must be updated
177 * there as well. */ 181 * there as well. */