Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38832
b: refs/heads/master
c: 7b62536
h: refs/heads/master
v: v3
  • Loading branch information
Steven Whitehouse committed Sep 5, 2006
1 parent 101ca6a commit 5b58e8e
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: 2c1e52aa905f2223dc600cfeda6c0dc94fac8b81
refs/heads/master: 7b62536141927212158ab84ce2afda9319ae6f2d
4 changes: 4 additions & 0 deletions trunk/fs/gfs2/ops_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ static struct dentry *gfs2_get_parent(struct dentry *child)

if (!inode)
return ERR_PTR(-ENOENT);
/*
* In case of an error, @inode carries the error value, and we
* have to return that as a(n invalid) pointer to dentry.
*/
if (IS_ERR(inode))
return ERR_PTR(PTR_ERR(inode));

Expand Down

0 comments on commit 5b58e8e

Please sign in to comment.