Whamcloud - gitweb
badblocks: Fix bug so that O_DIRECT mode is correctly entered
authorTheodore Ts'o <tytso@mit.edu>
Thu, 17 Feb 2011 04:35:49 +0000 (23:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 18 Feb 2011 06:09:39 +0000 (01:09 -0500)
commit7d6840354a44d2c8e77e6aa7be7a9e491992a87d
treeb9fc3e98e5145d6040523f9e1da290ca4218d39e
parent14dec253a975dfb636a0fa4b097520a1070a7040
badblocks: Fix bug so that O_DIRECT mode is correctly entered

The check to see if the block number is properly aligned was not done
correctly.  Fix this.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/badblocks.c