Date: Sat, 17 Feb 2018 17:02:19 +0100 From: Mateusz Guzik <mjguzik@gmail.com> To: Mariusz Zaborski <oshogbo@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Where KASASERT fd < fdp->fd_nfiles should be? Message-ID: <CAGudoHHyVscd9Au0xHq5_vn6r_tUnRUvRDLY%2BB6FsGkugF=DMw@mail.gmail.com> In-Reply-To: <20180217153825.GB61118@x-wing> References: <20180217150224.GA61118@x-wing> <CAGudoHHikxaGiB4NvADDGubkXuHLR8rOys2hUvcOd%2BZ0K22=Tw@mail.gmail.com> <20180217153825.GB61118@x-wing>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 17, 2018 at 4:38 PM, Mariusz Zaborski <oshogbo@freebsd.org> wrote: > So maybe we should go in more general approach and move this KASSERT to the > fget_locked and fdget_locked functions? > > If anyone is going to do anything with fd_lastfile, the right course of action is to whack it. A soft prerequisite is that someone takes care of the current hand-rolled bitmap implementation. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHHyVscd9Au0xHq5_vn6r_tUnRUvRDLY%2BB6FsGkugF=DMw>