From 08269e39a9a46f8fe38b7fe17541590165236a60 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 28 Sep 2006 11:05:46 +1000 Subject: [PATCH] --- yaml --- r: 37163 b: refs/heads/master c: 7ae67d78e7518fba89e5f3a74bdcb68e48ae8858 h: refs/heads/master i: 37161: 14a14ed4f436939fc7465b807f292a5081dbfbc8 37159: 47972181c1b28d5809f45545eb039cdf34ab1599 v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/sema.h | 2 -- trunk/fs/xfs/xfs_iget.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 72b7c81540ba..42e1ec1c60ce 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 91d87232044c1ceb8371625c27479e982984a848 +refs/heads/master: 7ae67d78e7518fba89e5f3a74bdcb68e48ae8858 diff --git a/trunk/fs/xfs/linux-2.6/sema.h b/trunk/fs/xfs/linux-2.6/sema.h index b25090094cca..2009e6d922ce 100644 --- a/trunk/fs/xfs/linux-2.6/sema.h +++ b/trunk/fs/xfs/linux-2.6/sema.h @@ -29,8 +29,6 @@ typedef struct semaphore sema_t; -#define init_sema(sp, val, c, d) sema_init(sp, val) -#define initsema(sp, val) sema_init(sp, val) #define initnsema(sp, val, name) sema_init(sp, val) #define psema(sp, b) down(sp) #define vsema(sp) up(sp) diff --git a/trunk/fs/xfs/xfs_iget.c b/trunk/fs/xfs/xfs_iget.c index e304ab078273..9b9379792f37 100644 --- a/trunk/fs/xfs/xfs_iget.c +++ b/trunk/fs/xfs/xfs_iget.c @@ -546,7 +546,7 @@ xfs_inode_lock_init( mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", vp->v_number); init_waitqueue_head(&ip->i_ipin_wait); atomic_set(&ip->i_pincount, 0); - init_sema(&ip->i_flock, 1, "xfsfino", vp->v_number); + initnsema(&ip->i_flock, 1, "xfsfino"); } /*