[Top] [All Lists]

Re: [PATCH V2] xfs_io: add mremap command

To: Eric Sandeen <sandeen@xxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
Subject: Re: [PATCH V2] xfs_io: add mremap command
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 12 Sep 2014 11:22:17 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5411171F.6010704@xxxxxxxxxxx>
References: <54111610.4080604@xxxxxxxxxx> <5411171F.6010704@xxxxxxxxxxx>
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        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.


<Prev in Thread] Current Thread [Next in Thread>