summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-13 16:07:18 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-13 19:00:37 +0100
commit5efd7e16c24ed7d1ab510158ea9b2f6fd0b81922 (patch)
tree1515192bc8a3d3b9ca9d982ce0dd57839182f4a4 /source3/lib
parent34d58c9d92f852e908acb78e040c1a22ce1591c1 (diff)
downloadsamba-5efd7e16c24ed7d1ab510158ea9b2f6fd0b81922.tar.gz
samba-5efd7e16c24ed7d1ab510158ea9b2f6fd0b81922.tar.bz2
samba-5efd7e16c24ed7d1ab510158ea9b2f6fd0b81922.zip
s3: Move can_delete_directory to smbd/, remove shim
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbd_shim.c9
-rw-r--r--source3/lib/smbd_shim.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/source3/lib/smbd_shim.c b/source3/lib/smbd_shim.c
index 72ae366ec3..a7d386b29c 100644
--- a/source3/lib/smbd_shim.c
+++ b/source3/lib/smbd_shim.c
@@ -51,15 +51,6 @@ void send_stat_cache_delete_message(struct messaging_context *msg_ctx,
}
}
-NTSTATUS can_delete_directory(struct connection_struct *conn,
- const char *dirname)
-{
- if (shim.can_delete_directory) {
- return shim.can_delete_directory(conn, dirname);
- }
- return NT_STATUS_OK;
-}
-
bool change_to_root_user(void)
{
if (shim.change_to_root_user) {
diff --git a/source3/lib/smbd_shim.h b/source3/lib/smbd_shim.h
index 89cae2b694..0b802fe01b 100644
--- a/source3/lib/smbd_shim.h
+++ b/source3/lib/smbd_shim.h
@@ -35,9 +35,6 @@ struct smbd_shim
void (*send_stat_cache_delete_message)(struct messaging_context *msg_ctx,
const char *name);
- NTSTATUS (*can_delete_directory)(struct connection_struct *conn,
- const char *dirname);
-
bool (*change_to_root_user)(void);
void (*contend_level2_oplocks_begin)(files_struct *fsp,