Whamcloud - gitweb
badblocks: Open the device with O_LARGEFILE
authorTheodore Ts'o <tytso@mit.edu>
Tue, 2 Sep 2008 12:29:20 +0000 (08:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Sep 2008 12:29:20 +0000 (08:29 -0400)
commit22301afb01f3059a2b1baf68abff26aaf6db7c9e
tree3073286f176f713e53fed7fba4852e5e75c8206f
parent60b30dbaa6672628f123e95bf8a8f0f37683ac4f
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>
misc/badblocks.c