Commit 58311c43 authored by Boaz Harrosh's avatar Boaz Harrosh
Browse files

exofs: More sane debug print



debug prints should be somewhat useful without actually
reading the source code
Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent 9f249162
...@@ -950,8 +950,7 @@ struct inode *exofs_iget(struct super_block *sb, unsigned long ino) ...@@ -950,8 +950,7 @@ struct inode *exofs_iget(struct super_block *sb, unsigned long ino)
#ifdef EXOFS_DEBUG_OBJ_ISIZE #ifdef EXOFS_DEBUG_OBJ_ISIZE
if ((inode->i_size != sanity) && if ((inode->i_size != sanity) &&
(!exofs_inode_is_fast_symlink(inode))) { (!exofs_inode_is_fast_symlink(inode))) {
EXOFS_ERR("WARNING: Size of object from inode and " EXOFS_ERR("WARNING: Size of inode=%llu != object=%llu\n",
"attributes differ (%lld != %llu)\n",
inode->i_size, _LLU(sanity)); inode->i_size, _LLU(sanity));
} }
#endif #endif
......
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