Re: [PATCH 4/7] staging: usbip: add option for usbipd to save its process id.

2013-07-23 Thread Greg KH
On Mon, Jul 08, 2013 at 07:43:30PM -0600, Anthony Foiani wrote: > Anthony Foiani writes: > > > Introduce option "-P" / "--pid" to request that usbipd save its PID to > > a file while running. > > I've already spotted one problem with this patch: > > > + write_pid_file(pid_file); > >

Re: [PATCH 4/7] staging: usbip: add option for usbipd to save its process id.

2013-07-08 Thread Anthony Foiani
Anthony Foiani writes: > Introduce option "-P" / "--pid" to request that usbipd save its PID to > a file while running. I've already spotted one problem with this patch: > + write_pid_file(pid_file); > rc = do_standalone_mode(daemonize); > + remove_pid_file

[PATCH 4/7] staging: usbip: add option for usbipd to save its process id.

2013-07-07 Thread Anthony Foiani
Introduce option "-P" / "--pid" to request that usbipd save its PID to a file while running. Signed-Off-By: Anthony Foiani --- drivers/staging/usbip/userspace/src/usbipd.c | 38 +++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/drivers/staging/usbip/users