diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 860766421fe8..0bf4c4c06b19 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) | |||
1780 | * no block allocation going on in any | 1780 | * no block allocation going on in any |
1781 | * of that groups | 1781 | * of that groups |
1782 | */ | 1782 | */ |
1783 | down_write(&grp->alloc_sem); | 1783 | down_write_nested(&grp->alloc_sem, i); |
1784 | } | 1784 | } |
1785 | return i; | 1785 | return i; |
1786 | } | 1786 | } |