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/super.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/super.c')
-rw-r--r-- | fs/gfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 63a8a902d9db..ca831991cbc2 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -389,7 +389,7 @@ int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) | |||
389 | break; | 389 | break; |
390 | 390 | ||
391 | INIT_LIST_HEAD(&jd->extent_list); | 391 | INIT_LIST_HEAD(&jd->extent_list); |
392 | jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1, NULL); | 392 | jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1); |
393 | if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { | 393 | if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { |
394 | if (!jd->jd_inode) | 394 | if (!jd->jd_inode) |
395 | error = -ENOENT; | 395 | error = -ENOENT; |