Date: Mon, 21 Oct 2013 17:07:53 +0200 From: Kristof Provost <kristof@sigsegv.be> To: Kirk McKusick <mckusick@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r256808 - head/sys/ufs/ffs Message-ID: <20131021150752.GC77546@vega.codepro.be> In-Reply-To: <201310202111.r9KLBfq5076008@svn.freebsd.org> References: <201310202111.r9KLBfq5076008@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kirk, On 2013-10-20 21:11:41 (+0000), Kirk McKusick <mckusick@FreeBSD.org> wrote: > Modified: head/sys/ufs/ffs/ffs_softdep.c > ============================================================================== > --- head/sys/ufs/ffs/ffs_softdep.c Sun Oct 20 21:11:36 2013 (r256807) > +++ head/sys/ufs/ffs/ffs_softdep.c Sun Oct 20 21:11:40 2013 (r256808) > @@ -13686,6 +13686,17 @@ DB_SHOW_COMMAND(mkdirs, db_show_mkdirs) > } > } > > +/* exported to ffs_vfsops.c */ > +extern void db_print_ffs(struct ufsmount *ump); > +void > +db_print_ffs(struct ufsmount *ump) > +{ > + db_printf("mp %p %s devvp %p fs %p su_wl %d su_deps %d su_req %d\n", > + ump->um_mountp, ump->um_mountp->mnt_stat.f_mntonname, > + ump->um_devvp, ump->um_fs, ump->softdep_on_worklist, > + ump->softdep_deps, ump->softdep_req); > +} > + > #endif /* DDB */ > > #endif /* SOFTUPDATES */ > This causes link failures for me: ffs_vfsops.o: In function `db_show_ffs': /usr/home/kp/openrd/sys/ufs/ffs/ffs_vfsops.c:2235: undefined reference to `db_print_ffs' /usr/home/kp/openrd/sys/ufs/ffs/ffs_vfsops.c:2241: undefined reference to `db_print_ffs' Presumably because I have DDB set, but not SOFTUPDATES. Regards, Kristof
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021150752.GC77546>