Skip to content

Commit

Permalink
Staging: Pohmelfs: Reduce debugging noise about non-existing objects.
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Evgeniy Polyakov authored and Greg Kroah-Hartman committed Apr 17, 2009
1 parent cee9bb2 commit d1ec644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/pohmelfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,10 @@ struct dentry *pohmelfs_lookup(struct inode *dir, struct dentry *dentry, struct

if (ino) {
inode = ilookup(dir->i_sb, ino);
printk("%s: second lookup ino: %lu, inode: %p, name: '%s', hash: %x.\n",
dprintk("%s: second lookup ino: %lu, inode: %p, name: '%s', hash: %x.\n",
__func__, ino, inode, str.name, str.hash);
if (!inode) {
printk("%s: No inode for ino: %lu, name: '%s', hash: %x.\n",
dprintk("%s: No inode for ino: %lu, name: '%s', hash: %x.\n",
__func__, ino, str.name, str.hash);
//return NULL;
return ERR_PTR(-EACCES);
Expand Down

0 comments on commit d1ec644

Please sign in to comment.