Obsolete bdflush system call?

Bas van Schaik <[email protected]> Sat, 18 Mar 2006 11:12:59 +0100
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Hi,

Just after starting the enbd-client, the kernel complains about an
obsolete bdflush system call:

> Mar 18 02:13:31 localhost kernel: ENBD #5345[0]: enbd_init Network Block Device originally by [email protected]
> Mar 18 02:13:31 localhost kernel: ENBD #5346[0]: enbd_init Network Block Device port to 2.0 by [email protected]
> Mar 18 02:13:31 localhost kernel: ENBD #5348[0]: enbd_init Network Block Device move networking to user space by [email protected]
> Mar 18 02:13:31 localhost kernel: ENBD #5350[0]: enbd_init Enhanced Network Block Device 2.4.30 $Date: 2002/09/17 16:33:22 $ by [email protected]
> Mar 18 02:13:31 localhost kernel: ENBD #5390[0]: enbd_init registered device at major 43
> Mar 18 02:13:55 localhost kernel: warning: process `enbd-client' used the obsolete bdflush system call
> Mar 18 02:13:55 localhost kernel: Fix your initscripts?

I don't really see what my initscripts have to do with this: I haven't
installed them yet!

In nbd/config.h.in, the following appears:
> /* Define if you have the bdflush function.  */
> #undef HAVE_BDFLUSH

I don't really understand why this is done, but HAVE_BDFLUSH is only
used in enbd-client.c.

However, it's only some kind of warning, everything seems to work fine.

Any ideas?

--Bas