summaryrefslogtreecommitdiffstats
path: root/scripts/test_fortify.sh
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-12-07 12:27:10 +0100
committerTheodore Ts'o <tytso@mit.edu>2022-12-08 21:49:25 -0500
commit29bc9cea0e13dc8043c249f5f232b9e0c441ae24 (patch)
tree4c1a78490f8b0a3520e6b2068503ee78e64f0a59 /scripts/test_fortify.sh
parent15648d599cd1c15cc678039dcab65599276fe407 (diff)
downloadlinux-stable-29bc9cea0e13dc8043c249f5f232b9e0c441ae24.tar.gz
linux-stable-29bc9cea0e13dc8043c249f5f232b9e0c441ae24.tar.bz2
linux-stable-29bc9cea0e13dc8043c249f5f232b9e0c441ae24.zip
ext4: move percpu_rwsem protection into ext4_writepages()
Move protection by percpu_rwsem from ext4_do_writepages() to ext4_writepages(). We will not want to grab this protection during transaction commits as that would be prone to deadlocks and the protection is not needed. Move the shutdown state checking as well since we want to be able to complete commit while the shutdown is in progress. Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20221207112722.22220-7-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/test_fortify.sh')
0 files changed, 0 insertions, 0 deletions