• Dmitry Monakhov's avatar
    ext3: quota_write cross block boundary behaviour · e5472147
    Dmitry Monakhov authored
    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: default avatarDmitry Monakhov <dmonakhov@openvz.org>
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    e5472147
super.c 82.7 KB