]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ext4: fix online resize bug
authorJosef Bacik <jbacik@redhat.com>
Fri, 6 Jun 2008 22:05:52 +0000 (18:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Jun 2008 22:05:52 +0000 (18:05 -0400)
commit944600930a37aa725ba6f93c3244e2d77a1e3581
tree2582e2b72196d82ae8fef3b88cb7cc834a2198d0
parent0bf7e8379ce7e0159a2a6bd3d937f2f6ada79799
ext4: fix online resize bug

There is a bug when we are trying to verify that the reserve inode's
double indirect blocks point back to the primary gdt blocks.  The fix is
obvious, we need to mod the gdb count by the addr's per block.  This was
verified using the same testcase as with the ext3 equivalent of this
patch.

Signed-off-by: Josef Bacik <jbacik@redhat.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c