commit | 22301afb01f3059a2b1baf68abff26aaf6db7c9e | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Sep 02 08:29:20 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Sep 02 08:29:20 2008 -0400 |
tree | 3073286f176f713e53fed7fba4852e5e75c8206f | |
parent | 60b30dbaa6672628f123e95bf8a8f0f37683ac4f [diff] |
badblocks: Open the device with O_LARGEFILE Linux doesn't enforce the Large File Support API requirements on block devices, but in case someone wants to run badblocks on a normal file, open the device file with O_LARGEFILE. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>