From: Dmitry Monakhov Date: Tue, 2 Mar 2010 13:08:51 +0000 (-0500) Subject: ext4: Fix ext4_quota_write cross block boundary behaviour X-Git-Tag: v2.6.34-rc1~199^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67eeb5685d2a211c0252ac7884142e503c759500;p=pandora-kernel.git ext4: Fix ext4_quota_write cross block boundary behaviour We always assume what dquot update result in changes in one data block But ext4_quota_write() function may handle cross block boundary writes In fact if this ever happen it will result in incorrect journal credits reservation, and later a BUG_ON. As soon this never happen the boundary cross loop is NOOP. In order to make things straight let's remove this loop and assert cross boundary condition. Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed