Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c2e81432
Commit
c2e81432
authored
Jan 16, 2006
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] mutex fallout - fix debug builds and remove no-longer-useful comment.
Signed-off-by:
Nathan Scott
<
nathans@sgi.com
>
parent
54245702
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
fs/xfs/linux-2.6/mutex.h
fs/xfs/linux-2.6/mutex.h
+1
-11
fs/xfs/quota/xfs_qm.c
fs/xfs/quota/xfs_qm.c
+1
-1
No files found.
fs/xfs/linux-2.6/mutex.h
View file @
c2e81432
...
@@ -18,18 +18,8 @@
...
@@ -18,18 +18,8 @@
#ifndef __XFS_SUPPORT_MUTEX_H__
#ifndef __XFS_SUPPORT_MUTEX_H__
#define __XFS_SUPPORT_MUTEX_H__
#define __XFS_SUPPORT_MUTEX_H__
#include <linux/spinlock.h>
#include <linux/mutex.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
;
typedef
struct
mutex
mutex_t
;
//#define mutex_destroy(lock) do{}while(0)
#endif
/* __XFS_SUPPORT_MUTEX_H__ */
#endif
/* __XFS_SUPPORT_MUTEX_H__ */
fs/xfs/quota/xfs_qm.c
View file @
c2e81432
...
@@ -167,7 +167,7 @@ xfs_Gqm_init(void)
...
@@ -167,7 +167,7 @@ xfs_Gqm_init(void)
xqm
->
qm_dqfree_ratio
=
XFS_QM_DQFREE_RATIO
;
xqm
->
qm_dqfree_ratio
=
XFS_QM_DQFREE_RATIO
;
xqm
->
qm_nrefs
=
0
;
xqm
->
qm_nrefs
=
0
;
#ifdef DEBUG
#ifdef DEBUG
xfs_mutex_init
(
&
qcheck_lock
,
MUTEX_DEFAULT
,
"qchk"
);
mutex_init
(
&
qcheck_lock
);
#endif
#endif
return
xqm
;
return
xqm
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment