Whamcloud - gitweb
libext2fs: ext2fs_open2() should not set ret_fs after a MMP failure
authorTheodore Ts'o <tytso@mit.edu>
Wed, 9 Jan 2013 01:47:11 +0000 (20:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 9 Jan 2013 01:47:11 +0000 (20:47 -0500)
commitf0257d8891c602cabc7358a5ca826444a172ccf5
treebe57fa83b48cb36b327b2597e71ff11d4b26162b
parenta046da5963649663933cf16d54ca2a892cc1a560
libext2fs: ext2fs_open2() should not set ret_fs after a MMP failure

The addition of MMP code was added in the wrong place, so ret_fs could
get set (and EXT2_FLAG_NOFREE_ON_ERROR was cleared as well, which
could confuse e2fsck which depends on this flag being cleared if
ext2fs_open2() succeeded.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/openfs.c