summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Polyakov <zbr@ioremap.net>2009-03-27 13:04:21 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-17 20:06:28 +0200
commitb522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e (patch)
tree0ded1685b08edc192bcb2f3135d83a836ca9e8c7
parentStaging: Pohmelfs: Disable read lock in pohmelfs_getattr(). (diff)
downloadlinux-b522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e.tar.xz
linux-b522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e.zip
Staging: Pohmelfs: Added 'need_lock' variable into debug print.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/pohmelfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c
index 26da75ca1f57..c99d91b27222 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);