Re: [gmane.network.aoe.aoetools.general] enbd and 4TB
"Peter T. Breuer" <[email protected]> Sat, 14 Jan 2006 23:42:13 +0100 (MET)
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
"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