commit | f0efd2976b69d31b752b5e5ce4f5e8341a130c45 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Apr 27 17:07:52 2002 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Apr 27 17:07:52 2002 -0400 |
tree | 9b4c82d21221fd4228ee7d83fffa4123a283dbbd | |
parent | 1608211222685c65f3989f1f8d32e8f72d711c3d [diff] |
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.