projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
[linux-2.6-block.git]
/
fs
/
freevxfs
/
vxfs_lookup.c
diff --git
a/fs/freevxfs/vxfs_lookup.c
b/fs/freevxfs/vxfs_lookup.c
index bf86e5444ea6d705a99682b83987b586a40a1e04..aee049cb9f84782640d365a90156f423d2a37b46 100644
(file)
--- a/
fs/freevxfs/vxfs_lookup.c
+++ b/
fs/freevxfs/vxfs_lookup.c
@@
-213,10
+213,10
@@
vxfs_lookup(struct inode *dip, struct dentry *dp, struct nameidata *nd)
lock_kernel();
ino = vxfs_inode_by_name(dip, dp);
if (ino) {
- ip = iget(dip->i_sb, ino);
- if (
!ip
) {
+ ip =
vxfs_
iget(dip->i_sb, ino);
+ if (
IS_ERR(ip)
) {
unlock_kernel();
- return ERR_
PTR(-EACCES
);
+ return ERR_
CAST(ip
);
}
}
unlock_kernel();