Whamcloud - gitweb
b=20668
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-pa_lock-typo.patch
1 Index: linux-2.6.18-128.1.6/fs/ext4/mballoc.c
2 ===================================================================
3 --- linux-2.6.18-128.1.6.orig/fs/ext4/mballoc.c
4 +++ linux-2.6.18-128.1.6/fs/ext4/mballoc.c
5 @@ -4507,7 +4507,7 @@ static void ext4_mb_add_n_trim(struct ex
6                                                 pa_inode_list) {
7                 spin_lock(&tmp_pa->pa_lock);
8                 if (tmp_pa->pa_deleted) {
9 -                       spin_unlock(&pa->pa_lock);
10 +                       spin_unlock(&tmp_pa->pa_lock);
11                         continue;
12                 }
13                 if (!added && pa->pa_free < tmp_pa->pa_free) {