Possibly you forgot to call set_fs(get_ds()), to tell the kernel that y=
our
file name is in kernel space already.
This trick is used several times in the kernel; look for it.
--=20
Stockmayer's Theorem: If it looks easy, it's tough. If it looks tough=
,
it's damn near impossible.
--=20
Matthias Urlichs \ Noris Network GmbH i.Gr/ Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12 \ Linux+Internet / EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany) \ Consulting+Programming+Networking+etc'i=
ng
PGP: 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE=20
Click <A HREF=3D"http://info.noris.de/~smurf/finger">here</A>. =
42