aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-22 00:59:34 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 13:52:50 -0400
commit8b73ce6a4bae4fe12bcb2c361c0da4183c2e1b6f (patch)
treeb6844406304e8ef696af84e7791bfd66745b62de
parent5b1d149c895b3229d70c0d4c69e14bdbe5fe8226 (diff)
reiserfs: change j_timestamp type to time64_t
This uses the deprecated time_t type but is write-only, and could be removed, but as Jeff explains, having a timestamp can be usefule for post-mortem analysis in crash dumps. In order to remove one of the last instances of time_t, this changes the type to time64_t, same as j_trans_start_time. Link: http://lkml.kernel.org/r/20180622133315.221210-1-arnd@arndb.de Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Jan Kara <jack@suse.cz> Cc: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/reiserfs/reiserfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h
index 621b9a07080a..e5ca9ed79e54 100644
--- a/fs/reiserfs/reiserfs.h
+++ b/fs/reiserfs/reiserfs.h
@@ -271,7 +271,7 @@ struct reiserfs_journal_list {
271 271
272 struct mutex j_commit_mutex; 272 struct mutex j_commit_mutex;
273 unsigned int j_trans_id; 273 unsigned int j_trans_id;
274 time_t j_timestamp; 274 time64_t j_timestamp; /* write-only but useful for crash dump analysis */
275 struct reiserfs_list_bitmap *j_list_bitmap; 275 struct reiserfs_list_bitmap *j_list_bitmap;
276 struct buffer_head *j_commit_bh; /* commit buffer head */ 276 struct buffer_head *j_commit_bh; /* commit buffer head */
277 struct reiserfs_journal_cnode *j_realblock; 277 struct reiserfs_journal_cnode *j_realblock;