Re: [PATCH] mgmt: Create ipc socket parent dir if does not exists
FUJITA Tomonori <[email protected]> Mon, 13 Apr 2015 14:56:21 +0900 (JST)
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <20150413.145621.1281009750676940031.fujita.tomonori@lab.ntt.co.jp> |
On Sun, 12 Apr 2015 18:11:06 +0300 Roi Dayan <[email protected]> wrote: > If the parent dir doesn't exists then tgtd will fail to create the > socket and exit. > This commit will check if the folder doesn't exists and create it. > > Signed-off-by: Roi Dayan <[email protected]> > --- > usr/mgmt.c | 5 +++++ > usr/tgtadm.h | 3 ++- > 2 files changed, 7 insertions(+), 1 deletion(-) Looks good. Thanks!