1 ext4: use swap() in memswap()
3 From: Fabian Frederick <fabf@skynet.be>
5 Use kernel.h macro definition.
7 Thanks to Julia Lawall for Coccinelle scripting support.
9 Signed-off-by: Fabian Frederick <fabf@skynet.be>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 fs/ext4/ioctl.c | 5 +----
13 1 file changed, 1 insertion(+), 4 deletions(-)
15 diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
16 index 7ce8582..cb84512 100644
20 static void memswap(void *a, void *b, size_t len)
22 unsigned char *ap, *bp;
25 ap = (unsigned char *)a;
26 bp = (unsigned char *)b;