Whamcloud - gitweb
e2fsck: notice when the realloc of dir_info fails
authorTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 16:24:07 +0000 (12:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 16:24:07 +0000 (12:24 -0400)
commite9a5c6e3607d17641543aa5e801af22563fb1410
tree0b1abfaeb10f963ab00fc6aebd4c9b4e83ba9e46
parent8a546777119c9c02f37fd1d8b0f2df8a142a2245
e2fsck: notice when the realloc of dir_info fails

If the reallocation of dir_info fails, we will eventually cause e2fsck
to fail with an internal error.  So if the realloc fails, print a
message and bail out with a fatal error early when at the time of the
reallocation failure.

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