Commit 6d6372a7 authored by Christoph Hellwig's avatar Christoph Hellwig

[XFS] spin_lock_irqsave must take an ulong, not int. Spotted by Anton Blanchard <anton@samba.org>

SGI Modid: 2.5.x-xfs:slinx:140135a
parent 70fd0766
...@@ -85,8 +85,8 @@ void ...@@ -85,8 +85,8 @@ void
cmn_err(register int level, char *fmt, ...) cmn_err(register int level, char *fmt, ...)
{ {
char *fp = fmt; char *fp = fmt;
ulong flags;
int len; int len;
unsigned long flags;
va_list ap; va_list ap;
level &= XFS_ERR_MASK; level &= XFS_ERR_MASK;
...@@ -110,8 +110,8 @@ cmn_err(register int level, char *fmt, ...) ...@@ -110,8 +110,8 @@ cmn_err(register int level, char *fmt, ...)
void void
icmn_err(register int level, char *fmt, va_list ap) icmn_err(register int level, char *fmt, va_list ap)
{ {
ulong flags;
int len; int len;
int flags;
level &= XFS_ERR_MASK; level &= XFS_ERR_MASK;
if(level > XFS_MAX_ERR_LEVEL) if(level > XFS_MAX_ERR_LEVEL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment