From: Vaishali Thakkar Date: Sun, 5 Oct 2014 11:58:06 +0000 (+0530) Subject: Staging: lustre: Replace non-standard spin-lock's macro X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~1285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12afe4935a35c2bdd71da59e86afa6e9d5fd6562;p=pandora-kernel.git Staging: lustre: Replace non-standard spin-lock's macro This patch replaces non-standard spin lock macro with standard linux function. This is done using Coccinelle and semantic patch used is as follows: @@ expression x; @@ - TREE_READ_LOCK_IRQ(x) + spin_lock_irq(&x->tree_lock) @@ expression x; @@ - TREE_READ_UNLOCK_IRQ(x) + spin_unlock_irq(&x->tree_lock) Signed-off-by: Vaishali Thakkar Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed