ext3: quota_write cross block boundary behaviour
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 16 Feb 2010 16:33:42 +0000 (19:33 +0300)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:26 +0000 (00:20 +0100)
We always assume what dquot update result in changes in one data block
But ext3_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 bug_on triggering. 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 <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>

No differences found