aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/linux/obd.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-13 16:03:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 10:21:10 -0700
commit50ffcb7edca4e2f6e2204058b78cadd3d1a2e04f (patch)
treea7a7a6d0a7db1d6e34cca9ba3e8d33315f5683e2 /drivers/staging/lustre/lustre/include/linux/obd.h
parentStaging: rtl8723au: Use snprintf instead rsprintf (diff)
downloadlinux-dev-50ffcb7edca4e2f6e2204058b78cadd3d1a2e04f.tar.xz
linux-dev-50ffcb7edca4e2f6e2204058b78cadd3d1a2e04f.zip
staging: lustre: add missing blank line after declarations
Fixes checkpatch.pl WARNING:LINE_SPACING: Missing a blank line after declarations. The patch is generated using checkpatch.pl --fix-inplace: for f in $(find drivers/staging/lustre/ -type f) ; do ./scripts/checkpatch.pl --types "LINE_SPACING" --test-only=Missing \ --fix-inplace -f $f done Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/linux/obd.h')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/obd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/obd.h b/drivers/staging/lustre/lustre/include/linux/obd.h
index 2817e88e014a..1d6750067f2f 100644
--- a/drivers/staging/lustre/lustre/include/linux/obd.h
+++ b/drivers/staging/lustre/lustre/include/linux/obd.h
@@ -70,6 +70,7 @@ static inline void __client_obd_list_lock(client_obd_lock_t *lock,
const char *func, int line)
{
unsigned long cur = jiffies;
+
while (1) {
if (spin_trylock(&lock->lock)) {
LASSERT(lock->task == NULL);