lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20080611113435.GD9008@skywalker> Date: Wed, 11 Jun 2008 17:04:35 +0530 From: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com> To: Shen Feng <shen@...fujitsu.com> Cc: linux-ext4@...r.kernel.org, Theodore Tso <tytso@....EDU>, Mingming Cao <cmm@...ibm.com>, Andrew Morton <akpm@...ux-foundation.org> Subject: Re: [PATCH] ext4: Fix the loop condition in ext4_mb_free_committed_blocks On Wed, Jun 11, 2008 at 11:55:45AM +0800, Shen Feng wrote: > > Since md is freed before the do-while checks it, > it's better to change it to while(1). > > Signed-off-by: Shen Feng <shen@...fujitsu.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@...ux.vnet.ibm.com> > --- > 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 42553f6..063f820 100644 > --- a/fs/ext4/mballoc.c > +++ b/fs/ext4/mballoc.c > @@ -2572,7 +2572,7 @@ ext4_mb_free_committed_blocks(struct super_block *sb) > kfree(md); > ext4_mb_release_desc(&e4b); > > - } while (md); > + } while (1); > > mb_debug("freed %u blocks in %u structures\n", count, count2); > } > -- > 1.5.4.5 > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@...r.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists