Commit:     a3227fb99675ebcdbe89e6954a85742c0dd11f0a
Parent:     1f9b3b64d417a714eb79d9a4cd4927ab304b0fc0
Author:     Lachlan McIlroy <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 10 18:35:40 2007 +1100
Committer:  Tim Shimmin <[EMAIL PROTECTED]>
CommitDate: Sat Feb 10 18:35:40 2007 +1100

    [XFS] mraccessf & mrupdatef are supposed to be the "flags" versions of the
    functions, but they
    a) ignore the flags parameter completely, and b) are never called
    directly, only via the flag-less defines anyway
    So, drop the #define indirection, and rename mraccessf to mraccess, etc.
    SGI-PV: 959138
    SGI-Modid: xfs-linux-melb:xfs-kern:27711a
    Signed-off-by: Lachlan McIlroy <[EMAIL PROTECTED]>
    Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]>
    Signed-off-by: Tim Shimmin <[EMAIL PROTECTED]>
 fs/xfs/linux-2.6/mrlock.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/fs/xfs/linux-2.6/mrlock.h b/fs/xfs/linux-2.6/mrlock.h
index 32e1ce0..af168a1 100644
--- a/fs/xfs/linux-2.6/mrlock.h
+++ b/fs/xfs/linux-2.6/mrlock.h
@@ -31,15 +31,13 @@ typedef struct {
        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)
-#define mrupdate(mrp)          mrupdatef(mrp, 0)
-static inline void mraccessf(mrlock_t *mrp, int flags)
+static inline void mraccess(mrlock_t *mrp)
-static inline void mrupdatef(mrlock_t *mrp, int flags)
+static inline void mrupdate(mrlock_t *mrp)
        mrp->mr_writer = 1;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to