Gitweb: http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=544e8ad99a5... Commit: 544e8ad99a5d47eaad9e027e52bb6cc1e85075d2 Parent: 885d165e685456f6c8fa4bab43c502e469ceded7 Author: Andrew Price anprice@redhat.com AuthorDate: Wed Oct 31 11:11:22 2012 +0000 Committer: Andrew Price anprice@redhat.com CommitterDate: Wed Oct 31 11:11:22 2012 +0000
fsck.gfs2: Fix build failure
gfs2/fsck/pass2.c:264: undefined reference to `inode_read'
Update the call to lgfs2_inode_read()
Signed-off-by: Andrew Price anprice@redhat.com --- gfs2/fsck/pass2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gfs2/fsck/pass2.c b/gfs2/fsck/pass2.c index 177b01a..7935f8b 100644 --- a/gfs2/fsck/pass2.c +++ b/gfs2/fsck/pass2.c @@ -261,7 +261,7 @@ static int bad_formal_ino(struct gfs2_inode *ip, struct gfs2_dirent *dent, /* We have a directory pointing to another directory, but the formal inode number still doesn't match. If that directory has a '..' pointing back, just fix up the no_formal_ino. */ - child_ip = inode_read(sdp, entry.no_addr); + child_ip = lgfs2_inode_read(sdp, entry.no_addr); error = dir_search(child_ip, "..", 2, NULL, &childs_dotdot); if (!error && childs_dotdot.no_addr == ip->i_di.di_num.no_addr) { log_err( _("The entry points to another directory with intact "
cluster-commits@lists.stg.fedorahosted.org