diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-23 14:42:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 20:53:36 -0400 |
commit | a569c711f63995ad80c23918525111e0cdb0bc73 (patch) | |
tree | 38186f0201614b6b1e71bea0708ef35814825ea6 /fs/gfs2/ops_export.c | |
parent | 2ad94ae654f5eb72fd3260b706aea645cf4a7791 (diff) |
[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.c | 2 |
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) | |||
134 | struct dentry *dentry; | 134 | struct dentry *dentry; |
135 | 135 | ||
136 | gfs2_str2qstr(&dotdot, ".."); | 136 | gfs2_str2qstr(&dotdot, ".."); |
137 | inode = gfs2_lookupi(child->d_inode, &dotdot, 1, NULL); | 137 | inode = gfs2_lookupi(child->d_inode, &dotdot, 1); |
138 | 138 | ||
139 | if (!inode) | 139 | if (!inode) |
140 | return ERR_PTR(-ENOENT); | 140 | return ERR_PTR(-ENOENT); |