Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18597
b: refs/heads/master
c: c2e8143
h: refs/heads/master
i:
  18595: 88e3c7b
v: v3
  • Loading branch information
Nathan Scott committed Jan 16, 2006
1 parent 0deafa6 commit f50a5ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 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: 54245702ab63a9a0b1ccf78bc37b57e778bb3bcc
refs/heads/master: c2e81432201d99cc48ff6492567fe05204cc8d7e
12 changes: 1 addition & 11 deletions trunk/fs/xfs/linux-2.6/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,8 @@
#ifndef __XFS_SUPPORT_MUTEX_H__
#define __XFS_SUPPORT_MUTEX_H__

#include <linux/spinlock.h>
#include <linux/mutex.h>

/*
* Map the mutex'es from IRIX to Linux semaphores.
*
* Destroy just simply initializes to -99 which should block all other
* callers.
*/
#define MUTEX_DEFAULT 0x0

typedef struct mutex mutex_t;
//#define mutex_destroy(lock) do{}while(0)
typedef struct mutex mutex_t;

#endif /* __XFS_SUPPORT_MUTEX_H__ */
2 changes: 1 addition & 1 deletion trunk/fs/xfs/quota/xfs_qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ xfs_Gqm_init(void)
xqm->qm_dqfree_ratio = XFS_QM_DQFREE_RATIO;
xqm->qm_nrefs = 0;
#ifdef DEBUG
xfs_mutex_init(&qcheck_lock, MUTEX_DEFAULT, "qchk");
mutex_init(&qcheck_lock);
#endif
return xqm;
}
Expand Down

0 comments on commit f50a5ea

Please sign in to comment.