Skip to content
Commit f1167009 authored by Niu Yawei's avatar Niu Yawei Committed by Theodore Ts'o
Browse files

ext4: fix race in ext4_mb_add_n_trim()



In ext4_mb_add_n_trim(), lg_prealloc_lock should be taken when
changing the lg_prealloc_list.

Signed-off-by: default avatarNiu Yawei <yawei.niu@intel.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
parent 87e69873
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment