Whamcloud - gitweb
libext2fs: reserve the error code EXT2_ET_NO_GDESC
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jan 2020 20:35:29 +0000 (15:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jan 2020 20:35:29 +0000 (15:35 -0500)
commitf6c5ad97daf7b266d66987476da33d6dfe341b36
tree5e5d324aeb54d2235b4dac4f29156c2bf5562f06
parent00179a29867b72c47e074d8e0babe6622d074dba
libext2fs: reserve the error code EXT2_ET_NO_GDESC

This is really only needed in the 1.46+ where the EXT2_FLAG_SUPER_ONLY
is honored by ext2fs_open to only read the superblock, so that
fs->group_desc can be NULL.  We define it in the maint branch so that
we can be sure the error tables are kept in sync (in the unlikely case
that a new error code needs to be assigned in the maint branch).

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