RE: find_task_by_pid() problem

Previous thread: Re: is nfsd sync or async? by Yuehai Xu on Monday, August 9, 2010 - 7:44 pm. (1 message)

Next thread: [git pull] vfs series, part 1 by Al Viro on Monday, August 9, 2010 - 8:35 pm. (4 messages)
From: Namhyung Kim
Date: Monday, August 9, 2010 - 8:32 pm

You can only use kernel's EXPORTed symbol, ie. EXPORT_SYMBOL*(), when you
write a module program because kernel links it on its own way.
Try this instead.

pid_task(find_vpid(...), PIDTYPE_PID)

-- 
Regards,
Namhyung Kim


--

From: Pistis Valentino
Date: Tuesday, August 10, 2010 - 1:39 am

Great!
It works!


Thank you!
Ciao
Valentino from Sardegna!
--

Previous thread: Re: is nfsd sync or async? by Yuehai Xu on Monday, August 9, 2010 - 7:44 pm. (1 message)

Next thread: [git pull] vfs series, part 1 by Al Viro on Monday, August 9, 2010 - 8:35 pm. (4 messages)