Whamcloud - gitweb
libext2fs: teach ext2fs_flush() to check if group descriptors are loaded
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jan 2020 23:56:49 +0000 (18:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Jan 2020 00:47:54 +0000 (19:47 -0500)
commitc8651b4bf6b31c975d92c4c056b8a1bc25a41f9e
tree1d162fdbf1248d45dafb289d34bba6f2e58bdd88
parent0670fc20df4a4bbbeb0edb30d82628ea30a80598
libext2fs: teach ext2fs_flush() to check if group descriptors are loaded

If the EXT2_FLAG_SUPER_ONLY is not set, and the group descriptors are
not loaded, ext2fs_flush[2]() will return EXT2_ET_NO_GDESC.

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