Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255163
b: refs/heads/master
c: ad1a2c8
h: refs/heads/master
i:
  255161: 48c9abb
  255159: dd1171f
v: v3
  • Loading branch information
J. Bruce Fields authored and Alex Elder committed Jul 20, 2011
1 parent 4f126b3 commit 7da8ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adab0f67d1cdaf468bbc311bce4d61f17626a536
refs/heads/master: ad1a2c878ca70829874b4fcc83223cccb4e26dab
4 changes: 2 additions & 2 deletions trunk/fs/xfs/linux-2.6/xfs_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ xfs_nfs_get_inode(
* We don't use ESTALE directly down the chain to not
* confuse applications using bulkstat that expect EINVAL.
*/
if (error == EINVAL)
if (error == EINVAL || error == ENOENT)
error = ESTALE;
return ERR_PTR(-error);
}

if (ip->i_d.di_gen != generation) {
IRELE(ip);
return ERR_PTR(-ENOENT);
return ERR_PTR(-ESTALE);
}

return VFS_I(ip);
Expand Down

0 comments on commit 7da8ceb

Please sign in to comment.