ocfs2: use swap() in ocfs2_double_lock()
authorFabian Frederick <fabf@skynet.be>
Wed, 24 Jun 2015 23:55:31 +0000 (16:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jun 2015 00:49:40 +0000 (17:49 -0700)
commitab1ba02181ea543a3f504d035a0f4fa53feb6e36
treebeea5dab044e85b975150adf7f49392b1d1c31b2
parenta612543fd189d5694a1b0d526369fab8827f7045
ocfs2: use swap() in ocfs2_double_lock()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/namei.c