Theodore Ts'o e7c9e3e99a ext4: fix locking typo in mballoc which could cause soft lockup hangs
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
2009-03-27 19:43:21 -04:00
..
2009-03-27 14:44:00 -04:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:57 +03:00
2009-01-22 13:15:58 +03:00
2009-01-22 13:15:57 +03:00
2009-03-27 14:44:01 -04:00
2009-01-22 13:15:58 +03:00
2009-03-27 14:44:01 -04:00
2008-11-14 10:39:25 +11:00
2009-03-27 17:20:40 -04:00
2009-03-22 11:28:37 -07:00
2009-03-27 14:43:59 -04:00
2009-03-27 14:44:05 -04:00
2009-01-22 13:15:55 +03:00
2009-03-27 14:44:02 -04:00
2009-01-22 13:15:58 +03:00
2009-03-28 17:30:00 -07:00
2009-01-22 13:15:59 +03:00
2009-03-26 02:18:35 +01:00
2009-01-22 13:15:59 +03:00
2009-03-27 14:44:03 -04:00
2008-12-31 18:07:43 -05:00
2009-01-03 11:45:54 -08:00
2009-02-06 17:34:07 -08:00
2009-03-27 14:44:03 -04:00
2009-03-27 14:44:03 -04:00
2009-03-28 17:30:00 -07:00
2009-03-27 14:43:57 -04:00
2009-03-27 14:44:05 -04:00
2009-03-16 08:32:27 -06:00
2009-03-28 17:30:00 -07:00
2009-03-16 08:34:35 -06:00
2009-03-28 17:30:00 -07:00
2009-03-16 08:34:35 -06:00
2009-02-18 15:37:53 -08:00
2009-02-18 15:37:53 -08:00