aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-04-01 18:05:02 +0000
committerChris Wright <chrisw@sous-sol.org>2009-04-27 10:36:52 -0700
commitc3d82093749274b9f86d9a058372cccb9eed3ac0 (patch)
tree241d0209e0b2f9304d1205b21ab57f8629ba7149 /lib/string_helpers.c
parent45b143c7050b475a911d6a3bf587ae72d075b0c5 (diff)
ext4: fix locking typo in mballoc which could cause soft lockup hangs
upstream commit: e7c9e3e99adf6c49c5d593a51375916acc039d1e Smatch (http://repo.or.cz/w/smatch.git/) complains about the locking in ext4_mb_add_n_trim() from fs/ext4/mballoc.c 4438 list_for_each_entry_rcu(tmp_pa, &lg->lg_prealloc_list[order], 4439 pa_inode_list) { 4440 spin_lock(&tmp_pa->pa_lock); 4441 if (tmp_pa->pa_deleted) { 4442 spin_unlock(&pa->pa_lock); 4443 continue; 4444 } Brown paper bag time... Reported-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@kernel.org Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions