Re: [PATCH V2] xfs_io: add mremap command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux