Staging: Pohmelfs: Added 'need_lock' variable into debug print.
authorEvgeniy Polyakov <zbr@ioremap.net>
Fri, 27 Mar 2009 12:04:21 +0000 (15:04 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 18:06:28 +0000 (11:06 -0700)
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/dir.c

index 26da75ca1f57428781f9a28afa0affe81136f95c..c99d91b2722293a6850447ff05c15146a6d0bdc2 100644 (file)
@@ -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);