blkdiscard: provide our own BLK[SEC]DISCARD if necessary
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9887f93eef
commit
8ea061eac3
@ -28,6 +28,13 @@
|
||||
#include "libbb.h"
|
||||
#include <linux/fs.h>
|
||||
|
||||
#ifndef BLKDISCARD
|
||||
#define BLKDISCARD 0x1277
|
||||
#endif
|
||||
#ifndef BLKSECDISCARD
|
||||
#define BLKSECDISCARD 0x127d
|
||||
#endif
|
||||
|
||||
int blkdiscard_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||
int blkdiscard_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user