diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 860766421fe8a7c6200b4c1686ab1fe62a1a6ab9..0bf4c4c06b19648981dbea1909b725bde7559d0c 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -1780,7 +1780,7 @@ int ext4_mb_get_buddy_cache_lock(struct super_block *sb, ext4_group_t group) * no block allocation going on in any * of that groups */ - down_write(&grp->alloc_sem); + down_write_nested(&grp->alloc_sem, i); } return i; }