Tag: 455b6ee6452751dc471b5a434f9398fb825d5149

pnfs/flexfiles: use swap() in ff_layout_sort_mirrors()

Author: Fabian Frederick <fabf@skynet.be> Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick Signed-off-by: Trond Myklebust — fs/nfs/flexfilelayout/flexfilelayout.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff –git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index 7d05089..0f1410c 100644 — a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c @@ -182,17 +182,14 @@ static void _ff_layout_free_lseg(struct nfs4_ff_layout_segment *fls) …

Continue reading