summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_export.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-07-23 20:42:05 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-27 02:53:36 +0200
commita569c711f63995ad80c23918525111e0cdb0bc73 (patch)
tree38186f0201614b6b1e71bea0708ef35814825ea6 /fs/gfs2/ops_export.c
parent[PATCH] new (local) helper: user_path_parent() (diff)
downloadlinux-a569c711f63995ad80c23918525111e0cdb0bc73.tar.xz
linux-a569c711f63995ad80c23918525111e0cdb0bc73.zip
[PATCH] don't pass nameidata to gfs2_lookupi()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/gfs2/ops_export.c')
-rw-r--r--fs/gfs2/ops_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c
index 990d9f4bc463..9cda8536530c 100644
--- a/fs/gfs2/ops_export.c
+++ b/fs/gfs2/ops_export.c
@@ -134,7 +134,7 @@ static struct dentry *gfs2_get_parent(struct dentry *child)
struct dentry *dentry;
gfs2_str2qstr(&dotdot, "..");
- inode = gfs2_lookupi(child->d_inode, &dotdot, 1, NULL);
+ inode = gfs2_lookupi(child->d_inode, &dotdot, 1);
if (!inode)
return ERR_PTR(-ENOENT);