Re: iput warnings

Bill Hawes (whawes@star.net)
Thu, 05 Feb 1998 09:43:22 -0500


Matti Aarnio wrote:

> Some network modules have static structures of "i-node" datas, and
> iput()ing those will produce these warnings, although they are harmless.
> Where did these occur ? At rmmod of IPv6 ? Somewhere else ?
> (I have patches at home for IPv4 and IPv6 modularization cleanup, but
> that is still incomplete -- you can safely insmod all, but rmmoding
> ipv4 may cause crash..)

Hi Matti,

I would assume that a static "fake inode" should never be iput, as that might
result in the system trying to put it on a list for re-use. If there's any
chance a private inode can be iput, it should be allocated with
get_empty_inode().

Regards,
Bill