[XFS] mutex fallout - fix debug builds and remove no-longer-useful comment.

Signed-off-by: Nathan Scott <nathans@sgi.com>

+2 -12
+1 -11
fs/xfs/linux-2.6/mutex.h
··· 18 18 #ifndef __XFS_SUPPORT_MUTEX_H__ 19 19 #define __XFS_SUPPORT_MUTEX_H__ 20 20 21 - #include <linux/spinlock.h> 22 21 #include <linux/mutex.h> 23 22 24 - /* 25 - * Map the mutex'es from IRIX to Linux semaphores. 26 - * 27 - * Destroy just simply initializes to -99 which should block all other 28 - * callers. 29 - */ 30 - #define MUTEX_DEFAULT 0x0 31 - 32 - typedef struct mutex mutex_t; 33 - //#define mutex_destroy(lock) do{}while(0) 23 + typedef struct mutex mutex_t; 34 24 35 25 #endif /* __XFS_SUPPORT_MUTEX_H__ */
+1 -1
fs/xfs/quota/xfs_qm.c
··· 167 167 xqm->qm_dqfree_ratio = XFS_QM_DQFREE_RATIO; 168 168 xqm->qm_nrefs = 0; 169 169 #ifdef DEBUG 170 - xfs_mutex_init(&qcheck_lock, MUTEX_DEFAULT, "qchk"); 170 + mutex_init(&qcheck_lock); 171 171 #endif 172 172 return xqm; 173 173 }