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-Url: https://git.stricted.de/?a=commitdiff_plain;h=b522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 26da75ca1f5..c99d91b2722 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);