ext4: pass verify_reserved_gdb() the number of group decriptors
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Wed, 4 Jan 2012 04:43:39 +0000 (23:43 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jan 2012 04:43:39 +0000 (23:43 -0500)
commitc72df9f928efd5b17e84bdb7b8ec1be3b9c1ea9d
treec699e4b60045a4e2228fe86536e752f789b9136a
parent2e10e2f2e5a800a54ad2f16dfdd8c034e005958b
ext4: pass verify_reserved_gdb() the number of group decriptors

The 64bit resizer adds a flex group each time, so verify_reserved_gdb
can not use s_groups_count directly, it should use the number of group
decriptors before the added group.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c