pnfs/flexfiles: use swap() in ff_layout_sort_mirrors()
authorFabian Frederick <fabf@skynet.be>
Fri, 12 Jun 2015 16:58:50 +0000 (18:58 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 16 Jun 2015 15:14:03 +0000 (11:14 -0400)
commit455b6ee6452751dc471b5a434f9398fb825d5149
treed5919151d4bb4026d4a40b420f2a83f8aecaf732
parent298073181112a6ab6c30fe7971b99de968daf81e
pnfs/flexfiles: use swap() in ff_layout_sort_mirrors()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c