diff options
author | Harshad Shirwadkar <harshadshirwadkar@gmail.com> | 2020-11-06 04:59:09 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-11-07 05:01:05 +0100 |
commit | 9b5f6c9b83d912c63ef9fb486a052be79b06f8b0 (patch) | |
tree | 5d0127495732468728724cb2af09b387947abc74 /mm/memory.c | |
parent | ext4: issue fsdev cache flush before starting fast commit (diff) | |
download | linux-9b5f6c9b83d912c63ef9fb486a052be79b06f8b0.tar.xz linux-9b5f6c9b83d912c63ef9fb486a052be79b06f8b0.zip |
ext4: make s_mount_flags modifications atomic
Fast commit file system states are recorded in
sbi->s_mount_flags. Fast commit expects these bit manipulations to be
atomic. This patch adds helpers to make those modifications atomic.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Link: https://lore.kernel.org/r/20201106035911.1942128-21-harshadshirwadkar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions