diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-08-22 23:43:38 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-08-27 11:27:12 -0400 |
commit | bb15cea20f211e110150e528fca806f38d5789e0 (patch) | |
tree | aa9d311491c04bc233aa630cb63ebe23528fa1aa /fs/ext4/ext4.h | |
parent | ff0722de896eb278fca193888d22278c28f2782c (diff) | |
download | linux-bb15cea20f211e110150e528fca806f38d5789e0.tar.gz linux-bb15cea20f211e110150e528fca806f38d5789e0.tar.bz2 linux-bb15cea20f211e110150e528fca806f38d5789e0.zip |
ext4: rename s_error_work to s_sb_upd_work
The most common use that s_error_work will get scheduled is now the
periodic update of the superblock. So rename it to s_sb_upd_work.
Also rename the function flush_stashed_error_work() to
update_super_work().
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 2c2c3191bf41..84618c46f239 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1698,10 +1698,13 @@ struct ext4_sb_info { const char *s_last_error_func; time64_t s_last_error_time; /* - * If we are in a context where we cannot update error information in - * the on-disk superblock, we queue this work to do it. + * If we are in a context where we cannot update the on-disk + * superblock, we queue the work here. This is used to update + * the error information in the superblock, and for periodic + * updates of the superblock called from the commit callback + * function. */ - struct work_struct s_error_work; + struct work_struct s_sb_upd_work; /* Ext4 fast commit sub transaction ID */ atomic_t s_fc_subtid; |