Commit 39a9b2c4 authored by Nathan Scott's avatar Nathan Scott Committed by Stephen Lord

[XFS] Fix some compile warnings and errors from some long-forgotten 2.4 mods

SGI Modid: 2.5.x-xfs:slinx:158642a
parent 0ff511fc
......@@ -2166,9 +2166,9 @@ xfs_da_do_buf(
if (xfs_error_level >= XFS_ERRLEVEL_LOW) {
int i;
cmn_err(CE_ALERT, "xfs_da_do_buf: bno %lld\n",
bno);
(long long)bno);
cmn_err(CE_ALERT, "dir: inode %lld\n",
dp->i_ino);
(long long)dp->i_ino);
for (i = 0; i < nmap; i++) {
cmn_err(CE_ALERT,
"[%02d] br_startoff %lld br_startblock %lld br_blockcount %lld br_state %d\n",
......
......@@ -1612,7 +1612,8 @@ xfs_dir2_node_addname_int(
if (XFS_DIR2_DB_TO_FDB(mp, dbno) != fbno) {
cmn_err(CE_ALERT,
"xfs_dir2_node_addname_int: needed block %lld, got %lld\n",
XFS_DIR2_DB_TO_FDB(mp, dbno), fbno);
(long long)XFS_DIR2_DB_TO_FDB(mp, dbno),
(long long)fbno);
XFS_ERROR_REPORT("xfs_dir2_node_addname_int",
XFS_ERRLEVEL_LOW, mp);
return XFS_ERROR(EFSCORRUPTED);
......
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