Re: [PATCH] [NFS]: Lock daemon start/stop rework.

2008-02-05 Thread Christoph Hellwig
On Thu, Jan 31, 2008 at 10:48:32AM +0300, Denis V. Lunev wrote: > Christoph Hellwig wrote: > > On Wed, Jan 30, 2008 at 02:41:34PM +0300, Denis V. Lunev wrote: > >> The pid of the locking daemon can be substituted with a task struct > >> without a problem. Namely, the value if filled in the context

Re: [PATCH] [NFS]: Lock daemon start/stop rework.

2008-01-30 Thread Denis V. Lunev
Christoph Hellwig wrote: > On Wed, Jan 30, 2008 at 02:41:34PM +0300, Denis V. Lunev wrote: >> The pid of the locking daemon can be substituted with a task struct >> without a problem. Namely, the value if filled in the context of the lockd >> thread and used in lockd_up/lockd_down. >> >> It is poss

Re: [PATCH] [NFS]: Lock daemon start/stop rework.

2008-01-30 Thread Christoph Hellwig
On Wed, Jan 30, 2008 at 02:41:34PM +0300, Denis V. Lunev wrote: > The pid of the locking daemon can be substituted with a task struct > without a problem. Namely, the value if filled in the context of the lockd > thread and used in lockd_up/lockd_down. > > It is possible to save task struct instea