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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87sk9irve0.fsf@openvz.org>
Date:	Wed, 03 Feb 2010 22:07:03 +0300
From:	Dmitry Monakhov <dmonakhov@...nvz.org>
To:	linux-ext4@...r.kernel.org
Cc:	tytso@....edu
Subject: [PATCH 2/2] ext4: fix delalloc retry loop logic v2

Dmitry Monakhov <dmonakhov@...nvz.org> writes:

> Theodore please review this patch ASAP, currently ext4+quota is 
> fatally broken due to your patch. Christmas holidays when you
> submit your patch is not good time for good review, IMHO
> i was too lazy to review it carefully.
> Testcase is trivial it is enough just hit a quota barrier.
> dmon$ set-quota-limit /mnt id=dmon --bsoft=1000 --bsoft=1000
> dmon$ dd if=/dev/zefo of=/mnt/file 
>
> kernel BUG at fs/jbd2/transaction.c:1027!
OOps, i'm sorry. seems that i've send wrong patch version
the only difference is follows:
-	dqretry = (ret == -EDQUOT) || EXT4_I(inode)->i_reserved_meta_blocks;
+	dqretry = (ret == -EDQUOT) && EXT4_I(inode)->i_reserved_meta_blocks;
Correct version attached.

View attachment "0002-ext4-fix-delalloc-retry-loop-logic-v2.patch" of type "text/plain" (3672 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ