projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Update to 2.6.25-rc3.
[linux-flexiantxendom0-3.2.10.git]
/
fs
/
gfs2
/
ops_export.c
diff --git
a/fs/gfs2/ops_export.c
b/fs/gfs2/ops_export.c
index
b9da623
..
334c7f8
100644
(file)
--- a/
fs/gfs2/ops_export.c
+++ b/
fs/gfs2/ops_export.c
@@
-143,7
+143,7
@@
static struct dentry *gfs2_get_parent(struct dentry *child)
* have to return that as a(n invalid) pointer to dentry.
*/
if (IS_ERR(inode))
- return ERR_PTR(PTR_ERR(inode));
+ return ERR_CAST(inode);
dentry = d_alloc_anon(inode);
if (!dentry) {