Whamcloud - gitweb
libext2: advance group in ext2fs_open2 during swapping
authorEric Sandeen <sandeen@redhat.com>
Thu, 10 Nov 2011 12:02:04 +0000 (07:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Nov 2011 12:02:04 +0000 (07:02 -0500)
commitfc4fd955f705bdbdf5512b1c739191f17d483135
tree88d836f47ca66243eba35580642ade5bb5bd8d9b
parent1e40ef8ee44cdf632958b884afe33c50e7d4c02e
libext2: advance group in ext2fs_open2 during swapping

Without this change, we go back to getting group descriptor
"0" each time we go around the "for i" loop.  It must properly
advance through the filesystem.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/openfs.c