Whamcloud - gitweb
ismounted.c (check_mntent_file, is_swap_device): Verify that the
authorTheodore Ts'o <tytso@mit.edu>
Sat, 27 Apr 2002 21:07:52 +0000 (17:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 27 Apr 2002 21:07:52 +0000 (17:07 -0400)
commitf0efd2976b69d31b752b5e5ce4f5e8341a130c45
tree9b4c82d21221fd4228ee7d83fffa4123a283dbbd
parent1608211222685c65f3989f1f8d32e8f72d711c3d
ismounted.c (check_mntent_file, is_swap_device): Verify that the
file we are checking is a block device file before looking
at st_rdev, since it's not valid for normal files.
(is_swap_device): Move so that it is outside the
HAVE_MNTENT_H, so that it is always built.
lib/ext2fs/ChangeLog
lib/ext2fs/ismounted.c