summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorChunguang Xu <brookxu@tencent.com>2020-09-24 05:03:42 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-10-18 16:36:59 +0200
commitee7ed3aa0f08621dbf897d2a98dc6f2c7e7d0335 (patch)
treee442547c018d5b5a7b1447da4591f52cf636167a /fs/ext4/ext4.h
parentjbd2: fix the comment of struct jbd2_journal_handle (diff)
downloadlinux-ee7ed3aa0f08621dbf897d2a98dc6f2c7e7d0335.tar.xz
linux-ee7ed3aa0f08621dbf897d2a98dc6f2c7e7d0335.zip
ext4: rename journal_dev to s_journal_dev inside ext4_sb_info
Rename journal_dev to s_journal_dev inside ext4_sb_info, keep the naming rules consistent with other variables, which is convenient for code reading and writing. Signed-off-by: Chunguang Xu <brookxu@tencent.com> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com> Link: https://lore.kernel.org/r/1600916623-544-1-git-send-email-brookxu@tencent.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 627600c25a15..0c547fce7ff9 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1480,7 +1480,7 @@ struct ext4_sb_info {
unsigned long s_commit_interval;
u32 s_max_batch_time;
u32 s_min_batch_time;
- struct block_device *journal_bdev;
+ struct block_device *s_journal_bdev;
#ifdef CONFIG_QUOTA
/* Names of quota files with journalled quota */
char __rcu *s_qf_names[EXT4_MAXQUOTAS];