From: Enzo Matsumiya <ematsumiya@suse.de>
To: linux-cifs@vger.kernel.org, linkinjeon@kernel.org
Cc: senozhatsky@chromium.org, sergey.senozhatsky@gmail.com,
hyc.lee@gmail.com, smfrench@gmail.com,
Enzo Matsumiya <ematsumiya@suse.de>
Subject: [PATCH 1/9] ksmbd-tools: rename dirs to reflect new commands
Date: Sun, 6 Mar 2022 22:33:36 -0300 [thread overview]
Message-ID: <20220307013344.29064-2-ematsumiya@suse.de> (raw)
In-Reply-To: <20220307013344.29064-1-ematsumiya@suse.de>
Rename directories to reflect command names, in preparation for binary
unification.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
---
Makefile.am | 2 +-
configure.ac | 6 +++---
{mountd => daemon}/Makefile.am | 2 +-
mountd/mountd.c => daemon/daemon.c | 0
{mountd => daemon}/ipc.c | 0
{mountd => daemon}/rpc.c | 0
{mountd => daemon}/rpc_lsarpc.c | 0
{mountd => daemon}/rpc_samr.c | 0
{mountd => daemon}/rpc_srvsvc.c | 0
{mountd => daemon}/rpc_wkssvc.c | 0
{mountd => daemon}/smbacl.c | 0
{mountd => daemon}/worker.c | 0
{addshare => share}/Makefile.am | 0
{addshare => share}/addshare.c | 0
{addshare => share}/share_admin.c | 0
{addshare => share}/share_admin.h | 0
{adduser => user}/Makefile.am | 0
{adduser => user}/adduser.c | 0
{adduser => user}/md4_hash.c | 0
{adduser => user}/md4_hash.h | 0
{adduser => user}/user_admin.c | 0
{adduser => user}/user_admin.h | 0
22 files changed, 5 insertions(+), 5 deletions(-)
rename {mountd => daemon}/Makefile.am (95%)
rename mountd/mountd.c => daemon/daemon.c (100%)
rename {mountd => daemon}/ipc.c (100%)
rename {mountd => daemon}/rpc.c (100%)
rename {mountd => daemon}/rpc_lsarpc.c (100%)
rename {mountd => daemon}/rpc_samr.c (100%)
rename {mountd => daemon}/rpc_srvsvc.c (100%)
rename {mountd => daemon}/rpc_wkssvc.c (100%)
rename {mountd => daemon}/smbacl.c (100%)
rename {mountd => daemon}/worker.c (100%)
rename {addshare => share}/Makefile.am (100%)
rename {addshare => share}/addshare.c (100%)
rename {addshare => share}/share_admin.c (100%)
rename {addshare => share}/share_admin.h (100%)
rename {adduser => user}/Makefile.am (100%)
rename {adduser => user}/adduser.c (100%)
rename {adduser => user}/md4_hash.c (100%)
rename {adduser => user}/md4_hash.h (100%)
rename {adduser => user}/user_admin.c (100%)
rename {adduser => user}/user_admin.h (100%)
diff --git a/Makefile.am b/Makefile.am
index 00a6148ff29d..e3ee928691bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lib mountd adduser addshare control
+SUBDIRS = lib daemon user share control
# other stuff
EXTRA_DIST = \
diff --git a/configure.ac b/configure.ac
index 6aceade6ed01..1f107805325f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,9 +62,9 @@ AM_CONDITIONAL(HAVE_LIBKRB5, [test "$enable_krb5" != "no"])
AC_CONFIG_FILES([
Makefile
lib/Makefile
- mountd/Makefile
- adduser/Makefile
- addshare/Makefile
+ daemon/Makefile
+ user/Makefile
+ share/Makefile
control/Makefile
])
diff --git a/mountd/Makefile.am b/daemon/Makefile.am
similarity index 95%
rename from mountd/Makefile.am
rename to daemon/Makefile.am
index 4719170f2d05..6249a098025d 100644
--- a/mountd/Makefile.am
+++ b/daemon/Makefile.am
@@ -4,5 +4,5 @@ ksmbd_mountd_LDADD = $(top_builddir)/lib/libksmbdtools.a
sbin_PROGRAMS = ksmbd.mountd
-ksmbd_mountd_SOURCES = worker.c ipc.c rpc.c rpc_srvsvc.c rpc_wkssvc.c mountd.c \
+ksmbd_mountd_SOURCES = worker.c ipc.c rpc.c rpc_srvsvc.c rpc_wkssvc.c daemon.c \
smbacl.c rpc_samr.c rpc_lsarpc.c
diff --git a/mountd/mountd.c b/daemon/daemon.c
similarity index 100%
rename from mountd/mountd.c
rename to daemon/daemon.c
diff --git a/mountd/ipc.c b/daemon/ipc.c
similarity index 100%
rename from mountd/ipc.c
rename to daemon/ipc.c
diff --git a/mountd/rpc.c b/daemon/rpc.c
similarity index 100%
rename from mountd/rpc.c
rename to daemon/rpc.c
diff --git a/mountd/rpc_lsarpc.c b/daemon/rpc_lsarpc.c
similarity index 100%
rename from mountd/rpc_lsarpc.c
rename to daemon/rpc_lsarpc.c
diff --git a/mountd/rpc_samr.c b/daemon/rpc_samr.c
similarity index 100%
rename from mountd/rpc_samr.c
rename to daemon/rpc_samr.c
diff --git a/mountd/rpc_srvsvc.c b/daemon/rpc_srvsvc.c
similarity index 100%
rename from mountd/rpc_srvsvc.c
rename to daemon/rpc_srvsvc.c
diff --git a/mountd/rpc_wkssvc.c b/daemon/rpc_wkssvc.c
similarity index 100%
rename from mountd/rpc_wkssvc.c
rename to daemon/rpc_wkssvc.c
diff --git a/mountd/smbacl.c b/daemon/smbacl.c
similarity index 100%
rename from mountd/smbacl.c
rename to daemon/smbacl.c
diff --git a/mountd/worker.c b/daemon/worker.c
similarity index 100%
rename from mountd/worker.c
rename to daemon/worker.c
diff --git a/addshare/Makefile.am b/share/Makefile.am
similarity index 100%
rename from addshare/Makefile.am
rename to share/Makefile.am
diff --git a/addshare/addshare.c b/share/addshare.c
similarity index 100%
rename from addshare/addshare.c
rename to share/addshare.c
diff --git a/addshare/share_admin.c b/share/share_admin.c
similarity index 100%
rename from addshare/share_admin.c
rename to share/share_admin.c
diff --git a/addshare/share_admin.h b/share/share_admin.h
similarity index 100%
rename from addshare/share_admin.h
rename to share/share_admin.h
diff --git a/adduser/Makefile.am b/user/Makefile.am
similarity index 100%
rename from adduser/Makefile.am
rename to user/Makefile.am
diff --git a/adduser/adduser.c b/user/adduser.c
similarity index 100%
rename from adduser/adduser.c
rename to user/adduser.c
diff --git a/adduser/md4_hash.c b/user/md4_hash.c
similarity index 100%
rename from adduser/md4_hash.c
rename to user/md4_hash.c
diff --git a/adduser/md4_hash.h b/user/md4_hash.h
similarity index 100%
rename from adduser/md4_hash.h
rename to user/md4_hash.h
diff --git a/adduser/user_admin.c b/user/user_admin.c
similarity index 100%
rename from adduser/user_admin.c
rename to user/user_admin.c
diff --git a/adduser/user_admin.h b/user/user_admin.h
similarity index 100%
rename from adduser/user_admin.h
rename to user/user_admin.h
--
2.34.1
next prev parent reply other threads:[~2022-03-07 1:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 1:33 [PATCH 0/9] Unify all programs into a single binary "ksmbdctl" Enzo Matsumiya
2022-03-07 1:33 ` Enzo Matsumiya [this message]
2022-03-07 1:33 ` [PATCH 2/9] ksmbd-tools: move control functions to daemon Enzo Matsumiya
2022-03-07 1:33 ` [PATCH 3/9] ksmbd-tools: use quotes for local includes Enzo Matsumiya
2022-03-07 1:33 ` [PATCH 4/9] share: introduce share_cmd Enzo Matsumiya
2022-03-10 2:19 ` Namjae Jeon
2022-03-07 1:33 ` [PATCH 5/9] user: introduce user_cmd Enzo Matsumiya
2022-03-10 2:17 ` Namjae Jeon
2022-03-07 1:33 ` [PATCH 6/9] daemon: introduce daemon_cmd Enzo Matsumiya
2022-03-07 1:33 ` [PATCH 7/9] daemon/rpc_samr: drop unused function rpc_samr_remove_domain_entry() Enzo Matsumiya
2022-03-07 1:33 ` [PATCH 8/9] Unify all programs into a single binary "ksmbdctl" Enzo Matsumiya
2022-03-07 1:33 ` [PATCH 9/9] README: change to markdown, updates for ksmbdctl Enzo Matsumiya
2022-03-10 2:11 ` [PATCH 0/9] Unify all programs into a single binary "ksmbdctl" Namjae Jeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220307013344.29064-2-ematsumiya@suse.de \
--to=ematsumiya@suse.de \
--cc=hyc.lee@gmail.com \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=senozhatsky@chromium.org \
--cc=sergey.senozhatsky@gmail.com \
--cc=smfrench@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox