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
f32f7336
Commit
f32f7336
authored
May 22, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix some compiler warnings, mark cmn_err as printflike.
SGI Modid: xfs-linux:xfs-kern:171451a
parent
34187d9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
fs/xfs/support/debug.h
fs/xfs/support/debug.h
+2
-1
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item.c
+3
-3
fs/xfs/xfs_da_btree.c
fs/xfs/xfs_da_btree.c
+4
-4
No files found.
fs/xfs/support/debug.h
View file @
f32f7336
/*
* Copyright (c) 2000-200
2
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -42,6 +42,7 @@
#define CE_PANIC 0
/* panic */
extern
void
icmn_err
(
int
,
char
*
,
va_list
);
/* PRINTFLIKE2 */
extern
void
cmn_err
(
int
,
char
*
,
...);
#ifndef STATIC
...
...
fs/xfs/xfs_buf_item.c
View file @
f32f7336
/*
* Copyright (c) 2000-200
2
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -1053,9 +1053,9 @@ xfs_buf_iodone_callbacks(
(
time_after
(
jiffies
,
(
lasttime
+
5
*
HZ
))))
{
lasttime
=
jiffies
;
prdev
(
"XFS write error in file system meta-data "
"block 0x%
L
x in %s"
,
"block 0x%
ll
x in %s"
,
XFS_BUF_TARGET
(
bp
),
XFS_BUF_ADDR
(
bp
),
mp
->
m_fsname
);
(
__uint64_t
)
XFS_BUF_ADDR
(
bp
),
mp
->
m_fsname
);
}
lasttarg
=
XFS_BUF_TARGET
(
bp
);
...
...
fs/xfs/xfs_da_btree.c
View file @
f32f7336
/*
* Copyright (c) 2000-200
3
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -2166,9 +2166,9 @@ xfs_da_do_buf(
cmn_err
(
CE_ALERT
,
"[%02d] br_startoff %lld br_startblock %lld br_blockcount %lld br_state %d
\n
"
,
i
,
mapp
[
i
].
br_startoff
,
mapp
[
i
].
br_startblock
,
mapp
[
i
].
br_blockcount
,
(
long
long
)
mapp
[
i
].
br_startoff
,
(
long
long
)
mapp
[
i
].
br_startblock
,
(
long
long
)
mapp
[
i
].
br_blockcount
,
mapp
[
i
].
br_state
);
}
}
...
...
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