Subject: Re: kern/14638: ufs/ufs/ufs_lookup.c:ufs_dirremove() does not compile without FFS_EI
To: None <itojun@itojun.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 11/19/2001 17:40:28
    Date:        Mon, 19 Nov 2001 19:17:19 +0900 (JST)
    From:        itojun@itojun.org
    Message-ID:  <20011119101719.960F37BA@starfruit.itojun.org>

  | >Fix:
  | 	1. enable options FFS_EI
  | 	2. remove -Wunused from kernel makefile
  | 	3. have some #pragma?

Probably better, change the (no-op) definitions of ufs_rw16() (etc)
from

 #define ufs_rw16(a, ns) (a)

to

 #define ufs_rw16(a, ns) ((ns) ? (a) : (a))

which ought to compile into just as much a no-op, but will keep the ns
arg (needswap) looking as if it is truly used...

kre