summaryrefslogtreecommitdiff
path: root/source3/lib/sharesec.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2008-09-08 15:57:15 +0200
committerVolker Lendecke <vl@samba.org>2008-09-08 16:01:19 +0200
commitae02be5287513659fc8a44fea3942e8ea6fea88a (patch)
tree83904faa90d9ebbd2b266a0ef69f9aacc38567cf /source3/lib/sharesec.c
parentfcc7239e238ea26204aa7fa4ce8d679b47027be0 (diff)
downloadsamba-ae02be5287513659fc8a44fea3942e8ea6fea88a.tar.gz
samba-ae02be5287513659fc8a44fea3942e8ea6fea88a.tar.bz2
samba-ae02be5287513659fc8a44fea3942e8ea6fea88a.zip
Remove some duplicate code
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
Diffstat (limited to 'source3/lib/sharesec.c')
-rw-r--r--source3/lib/sharesec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 4380000080..5eaa25ac59 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -29,12 +29,7 @@ static struct db_context *share_db; /* used for share security descriptors */
/* Map generic permissions to file object specific permissions */
-static const struct generic_mapping file_generic_mapping = {
- FILE_GENERIC_READ,
- FILE_GENERIC_WRITE,
- FILE_GENERIC_EXECUTE,
- FILE_GENERIC_ALL
-};
+const struct generic_mapping file_generic_mapping;
static int delete_fn(struct db_record *rec, void *priv)
{