diff options
author | Harshad Shirwadkar <harshadshirwadkar@gmail.com> | 2021-12-23 21:21:38 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-12-24 00:13:25 +0100 |
commit | 7bbbe241ec7ce0def9f71464c878fdbd2b0dcf37 (patch) | |
tree | c5ae1a29d39903622fb1f2066a87f96b47329b1a /fs/ext4/super.c | |
parent | ext4: use ext4_journal_start/stop for fast commit transactions (diff) | |
download | linux-7bbbe241ec7ce0def9f71464c878fdbd2b0dcf37.tar.xz linux-7bbbe241ec7ce0def9f71464c878fdbd2b0dcf37.zip |
ext4: drop ineligible txn start stop APIs
This patch drops ext4_fc_start_ineligible() and
ext4_fc_stop_ineligible() APIs. Fast commit ineligible transactions
should simply call ext4_fc_mark_ineligible() after starting the
trasaction.
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20211223202140.2061101-3-harshads@google.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to '')
-rw-r--r-- | fs/ext4/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 55be772f6374..acdfd9c0d091 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5074,7 +5074,6 @@ static int __ext4_fill_super(struct fs_context *fc, struct super_block *sb) /* Initialize fast commit stuff */ atomic_set(&sbi->s_fc_subtid, 0); - atomic_set(&sbi->s_fc_ineligible_updates, 0); INIT_LIST_HEAD(&sbi->s_fc_q[FC_Q_MAIN]); INIT_LIST_HEAD(&sbi->s_fc_q[FC_Q_STAGING]); INIT_LIST_HEAD(&sbi->s_fc_dentry_q[FC_Q_MAIN]); |