deuglify squashfs_lookup()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jul 2011 00:57:47 +0000 (20:57 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:44:24 +0000 (01:44 -0400)
commit0c1aa9a952c3608eb17bf990466f1491d1ee8b6c
tree93c044f5700db46f056fb7f57924ff9f9f8fee98
parent5b4b299cc7b6adfb9401bf7f826a80f190b971be
deuglify squashfs_lookup()

d_splice_alias(NULL, dentry) is equivalent to d_add(dentry, NULL), NULL
so no need for that if (inode) ... in there (or ERR_PTR(0), for that
matter)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/squashfs/namei.c