From 25d2ddc0336f1f828532475662e114bbd23f478a Mon Sep 17 00:00:00 2001 From: Manish Katiyar Date: Mon, 23 Mar 2009 08:08:05 +0530 Subject: [PATCH] Add dev-id and inode number for debugging in init_special_inode Signed-off-by: Manish Katiyar --- fs/inode.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/inode.c b/fs/inode.c index 913ab2d..f75e9a4 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -1540,7 +1540,8 @@ void init_special_inode(struct inode *inode, umode_t mode, dev_t rdev) else if (S_ISSOCK(mode)) inode->i_fop = &bad_sock_fops; else - printk(KERN_DEBUG "init_special_inode: bogus i_mode (%o)\n", - mode); + printk(KERN_DEBUG "init_special_inode: bogus i_mode (%o) for" + " inode %s:%lu\n", mode, inode->i_sb->s_id, + inode->i_ino); } EXPORT_SYMBOL(init_special_inode); -- 1.5.4.3