From: Evgeniy Polyakov Date: Fri, 27 Mar 2009 12:04:21 +0000 (+0300) Subject: Staging: Pohmelfs: Added 'need_lock' variable into debug print. X-Git-Tag: v2.6.30-rc3~58^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e;p=profile%2Fcommon%2Fkernel-common.git Staging: Pohmelfs: Added 'need_lock' variable into debug print. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c index 26da75c..c99d91b 100644 --- a/drivers/staging/pohmelfs/dir.c +++ b/drivers/staging/pohmelfs/dir.c @@ -521,8 +521,8 @@ struct dentry *pohmelfs_lookup(struct inode *dir, struct dentry *dentry, struct ino = n->ino; mutex_unlock(&parent->offset_lock); - dprintk("%s: start ino: %lu, inode: %p, name: '%s', hash: %x, parent_state: %lx.\n", - __func__, ino, inode, str.name, str.hash, parent->state); + dprintk("%s: start ino: %lu, inode: %p, name: '%s', hash: %x, parent_state: %lx, need_lock: %d.\n", + __func__, ino, inode, str.name, str.hash, parent->state, need_lock); if (ino) { inode = ilookup(dir->i_sb, ino);