Whamcloud - gitweb
libext2fs: fix EXT2FS_PRETEND_* on non-Linux systems
authorTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jun 2016 15:44:54 +0000 (11:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jun 2016 15:44:54 +0000 (11:44 -0400)
commit43b7b054cd3165645c9b22977247674f9465e0e1
tree0105d9e035bc6cf51519d28b9efd38245334c47b
parentafaf6db69fb5830e6c6d5652bc0689ee257e971f
libext2fs: fix EXT2FS_PRETEND_* on non-Linux systems

The debugging environment variables EXT2FS_PRETEND_* were implemented
in check_mntent_file(), and this function isn't called on all
operating systems.  Lift this code up to ext2fs_check_mount_point(),
so that these environment variables (which are used in the regression
test suite) will work on all platforms.

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