Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119737
b: refs/heads/master
c: a4f4d6d
h: refs/heads/master
i:
  119735: 720bcfe
v: v3
  • Loading branch information
J. Bruce Fields authored and Linus Torvalds committed Dec 9, 2008
1 parent 6200483 commit 1aca86e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 218d11a8b071b23b76c484fd5f72a4fe3306801e
refs/heads/master: a4f4d6df537368297a84e6b9444f403f99bf59f6
4 changes: 4 additions & 0 deletions trunk/fs/exportfs/expfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
* Try to get any dentry for the given file handle from the filesystem.
*/
result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type);
if (!result)
result = ERR_PTR(-ESTALE);
if (IS_ERR(result))
return result;

Expand Down Expand Up @@ -420,6 +422,8 @@ struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,

target_dir = nop->fh_to_parent(mnt->mnt_sb, fid,
fh_len, fileid_type);
if (!target_dir)
goto err_result;
err = PTR_ERR(target_dir);
if (IS_ERR(target_dir))
goto err_result;
Expand Down

0 comments on commit 1aca86e

Please sign in to comment.