[ENBD] 2.6.0 support
Peter T. Breuer
ptb at it.uc3m.es
Thu Jan 15 15:46:36 MST 2004
"Also sprach Peter T. Breuer:"
> "Also sprach Peter T. Breuer:"
> > "Also sprach Carlos Knowlton:"
> > > In file included from drivers/block/enbd/enbd_base.c:271:
> > > include/linux/enbd.h:165: error: syntax error before "int"
> >
> > And what line is that? As I count, it is the "dec" line below:
>
> OK - you patched OK. It's the "notify_fn" line, and the complaint is
> for spinlock_t. Put an include of <linux/spinlock.h> in enbd_base.c,
Groan, no it isn't. It's the other "int". It's kdev_t that has
disappeared.
> > + spinlock_t access_lock;
> > + int (*notify_fn)(kdev_t, int);
Retitle this thread "what happened to kdev_t"!
And if somebody cares to point me to the kernel patch in which it
disappeared, so much the better. Hmm. I see a "dev_t" that is a 32
bit number that might have replaced it.
Peter
More information about the ENBD
mailing list