mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
ocfs2: Silence a gcc warning.
ocfs2_block_group_claim_bits() is never called with min_bits=0, but we shouldn't leave status undefined if it ever is. Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
parent
5f5261acb0
commit
18d3a98f3c
@ -484,7 +484,7 @@ static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb,
|
||||
unsigned int min_bits,
|
||||
u32 *bit_off, u32 *num_bits)
|
||||
{
|
||||
int status;
|
||||
int status = 0;
|
||||
|
||||
while (min_bits) {
|
||||
status = ocfs2_claim_clusters(handle, ac, min_bits,
|
||||
|
Loading…
Reference in New Issue
Block a user