On 9/10/14 10:29 PM, Eric Sandeen wrote:
This adds a simple mremap command to xfs_io.
It does not take a start address; it uses the existing
start address, so the sized passed will be the new total
size of the mapping.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
+int
+mremap_f(
+ int argc,
+ char **argv)
+{
+ ssize_t new_length;
+ void *new_addr;
+ int flags = 0;
+ int c;
+ size_t blocksize, sectsize;
+
Crap, and I just realized my mailer has started swapping tabs for spaces; my
last several patches are probably corrupted this way. Grumble.
-Eric
|