projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
affs: d_obtain_alias(ERR_PTR(...)) will do the right thing
[linux-2.6-microblaze.git]
/
fs
/
affs
/
namei.c
diff --git
a/fs/affs/namei.c
b/fs/affs/namei.c
index
d6b9758
..
8c15449
100644
(file)
--- a/
fs/affs/namei.c
+++ b/
fs/affs/namei.c
@@
-532,9
+532,6
@@
static struct dentry *affs_get_parent(struct dentry *child)
parent = affs_iget(child->d_sb,
be32_to_cpu(AFFS_TAIL(child->d_sb, bh)->parent));
brelse(bh);
- if (IS_ERR(parent))
- return ERR_CAST(parent);
-
return d_obtain_alias(parent);
}