Whamcloud - gitweb
mke2fs: open device writable for trim/discard
authorEric Sandeen <sandeen@redhat.com>
Tue, 17 Nov 2009 21:49:03 +0000 (15:49 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 25 Nov 2009 12:05:37 +0000 (07:05 -0500)
commitf3befe3e6b74f8ab33d619d2213bbd130cd5b191
tree0022aba3d285afc988f40a05fbe0afd18a0967c7
parent2ce7387cc6a666b10ada0d3aa2c3f50de2be71e5
mke2fs: open device writable for trim/discard

Sorry about that, the discard ioctl doesn't actually work
unless you open the file with write capabilities...

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c