commit | dde6333b9658afa0dcd30fe9628857dd694509c6 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Mar 04 19:05:00 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Mar 04 19:05:00 2014 -0500 |
tree | 1d0e17f267286967864529a00eef85aa541f99ad | |
parent | b6902b3d6291977399f48fbb4dee0b13f23e07f4 [diff] |
e2fsck: always make sure e2fsck_global_ctx is set The e2fsck_global_ctx varible was only being set if HAVE_SIGNAL_H is defined. There are systems, such as Android, where this is not true. This was causing e2fsck_set_bitmap_type() to seg fault since e2fsck_global_ctx was not NULL. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reported-by: JP Abgrall <jpa@google.com>