mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[XFS] Add format checking to cmn_err and icmn_err
SGI-PV: 942243 SGI-Modid: xfs-linux:xfs-kern:198658a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
88741a95af
commit
da1650a5d6
7 changed files with 18 additions and 11 deletions
|
@ -194,9 +194,10 @@ xfs_inotobp(
|
|||
if ((imap.im_blkno + imap.im_len) >
|
||||
XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) {
|
||||
cmn_err(CE_WARN,
|
||||
"xfs_inotobp: inode number (%d + %d) maps to a block outside the bounds "
|
||||
"xfs_inotobp: inode number (%llu + %d) maps to a block outside the bounds "
|
||||
"of the file system %s. Returning EINVAL.",
|
||||
imap.im_blkno, imap.im_len,mp->m_fsname);
|
||||
(unsigned long long)imap.im_blkno,
|
||||
imap.im_len, mp->m_fsname);
|
||||
return XFS_ERROR(EINVAL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue