Pass the wipe size to the wipe function in a 64 bit int.
Change-Id: Ia6a0c70c8ddacaae35d17732d61b126219e5c158
#define BLKSECDISCARD _IO(0x12,125)
#endif
-int wipe_block_device(int fd, int len)
+int wipe_block_device(int fd, s64 len)
{
u64 range[2];
int ret;
return 0;
}
#else
-int wipe_block_device(int fd, int len)
+int wipe_block_device(int fd, s64 len)
{
error("wipe not supported on non-linux platforms");
return 1;
#ifndef _WIPE_H_
#define _WIPE_H_
-int wipe_block_device(int fd, int len);
+int wipe_block_device(int fd, s64 len);
#endif