Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2009 07:31:23 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Attilio Rao <attilio@freebsd.org>, Konstantin Belousov <kib@freebsd.org>
Subject:   Re: [PATCH] VFS KPI/API versioning
Message-ID:  <200908310731.24021.jhb@freebsd.org>
In-Reply-To: <3bbf2fe10908281904l6f8119a5l2daa301016eac8ef@mail.gmail.com>
References:  <3bbf2fe10908281904l6f8119a5l2daa301016eac8ef@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 August 2009 10:04:55 pm Attilio Rao wrote:
> Often I found as it would have been useful to verify, mostly at
> run-time, of a feature of the VFS was supported and I quickly thought
> that having a run-time check for VFS versioning would not be a bad
> idea.
> In order to do that, I made the following patch:
> http://www.freebsd.org/~attilio/vfs_modload.diff

You don't have to have an actual DECLARE_MODULE() to use MODULE_VERSION().  
Given that, you can simplify this patch down to a single line that just adds 
the MODULE_VERSION().

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908310731.24021.jhb>