[ENBD] [gmane.network.aoe.aoetools.general] enbd and 4TB
Peter T. Breuer
ptb at inv.it.uc3m.es
Sat Jan 14 15:42:13 MST 2006
"Also sprach Florian Frank:"
> > if (get_user (longlongval, (__u64 *)arg))
Use
if (copy_from_user((char *)&longlongval, (char *)arg, sizeof(__u64)))
instead.
> > return -EFAULT;
> > err = enbd_set_size (lo, longlongval);
> > return err;
> > } while(0);
> > return -EINVAL;
> >
> > and add a new ioctl definition in enbd.h
> >
> > #define ENBD_SET_SECTORS64 _IOWR(0xab, 0x30, __u64)
> The module compiles, but I get the following unresolved symbol at
> loading:
> enbd: Unknown symbol __get_user_X
Peter
More information about the ENBD
mailing list