From a55549f10d31b997e06934dcb9eb48bbd727c525 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 9 Jun 2006 14:57:01 +1000 Subject: [PATCH] --- yaml --- r: 28419 b: refs/heads/master c: 72c93bcc6348a385416603459c2fdb4cf6c43687 h: refs/heads/master i: 28417: bcafe684ac20f4d9eeaeac7849e127a5ac31b664 28415: ef6b70854453bae462ce7b1d001fe7b2202ad8ca v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/mrlock.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 5b6d8547fb7e..03cf459a3930 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 87c199c2a79220ac9e216e72d18a15148f84d9e0 +refs/heads/master: 72c93bcc6348a385416603459c2fdb4cf6c43687 diff --git a/trunk/fs/xfs/linux-2.6/mrlock.h b/trunk/fs/xfs/linux-2.6/mrlock.h index 1b262b790d9c..32e1ce0f04c9 100644 --- a/trunk/fs/xfs/linux-2.6/mrlock.h +++ b/trunk/fs/xfs/linux-2.6/mrlock.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2005 Silicon Graphics, Inc. + * Copyright (c) 2000-2006 Silicon Graphics, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ typedef struct { } mrlock_t; #define mrinit(mrp, name) \ - ( (mrp)->mr_writer = 0, init_rwsem(&(mrp)->mr_lock) ) + do { (mrp)->mr_writer = 0; init_rwsem(&(mrp)->mr_lock); } while (0) #define mrlock_init(mrp, t,n,s) mrinit(mrp, n) #define mrfree(mrp) do { } while (0) #define mraccess(mrp) mraccessf(mrp, 0)