Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37163
b: refs/heads/master
c: 7ae67d7
h: refs/heads/master
i:
  37161: 14a14ed
  37159: 4797218
v: v3
  • Loading branch information
Eric Sandeen authored and Tim Shimmin committed Sep 28, 2006
1 parent 7cd2549 commit 08269e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91d87232044c1ceb8371625c27479e982984a848
refs/heads/master: 7ae67d78e7518fba89e5f3a74bdcb68e48ae8858
2 changes: 0 additions & 2 deletions trunk/fs/xfs/linux-2.6/sema.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/xfs/xfs_iget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/*
Expand Down

0 comments on commit 08269e3

Please sign in to comment.