Whamcloud - gitweb
e2fsck: abort if ext2fs_check_desc() returns a memory failure
authorTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 02:49:04 +0000 (22:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 02:49:04 +0000 (22:49 -0400)
commit41cec3498f5991c0e44d977d17fe7a85acc7010a
tree8caaf0dfc3ab3e486c46ec08ee8dcef0d49ec48e
parent963d0f1a9458396c18d0aa030601f29cc1e25f30
e2fsck: abort if ext2fs_check_desc() returns a memory failure

We were checking for ENOMEM, but in fact if the malloc() fails,
ext2fs_check_desc() will return EXT2_ET_NO_MEMORY.

Addresses-Google-Bug: #6208183

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/unix.c