git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/9p: Fix revalidate to return correct value
[pandora-kernel.git]
/
fs
/
9p
/
vfs_dentry.c
diff --git
a/fs/9p/vfs_dentry.c
b/fs/9p/vfs_dentry.c
index
b6a3b9f
..
e022890
100644
(file)
--- a/
fs/9p/vfs_dentry.c
+++ b/
fs/9p/vfs_dentry.c
@@
-126,7
+126,9
@@
static int v9fs_lookup_revalidate(struct dentry *dentry, struct nameidata *nd)
retval = v9fs_refresh_inode_dotl(fid, inode);
else
retval = v9fs_refresh_inode(fid, inode);
- if (retval <= 0)
+ if (retval == -ENOENT)
+ return 0;
+ if (retval < 0)
return retval;
}
out_valid: