diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-16 09:26:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-16 11:23:04 +0200 |
commit | 70be41c772d69d36ea8f434187be8bfd6b5f38a0 (patch) | |
tree | f53fdf9f34c414fcd060f28b89c75577529f7c96 /source3/include | |
parent | bfe4a2baeec6bc4558a617ec67532ea11f865861 (diff) | |
download | samba-70be41c772d69d36ea8f434187be8bfd6b5f38a0.tar.gz samba-70be41c772d69d36ea8f434187be8bfd6b5f38a0.tar.bz2 samba-70be41c772d69d36ea8f434187be8bfd6b5f38a0.zip |
s3:onefs: remove all onefs related code as it not maintained anymore
See https://lists.samba.org/archive/samba-technical/2012-May/083631.html
for the discussion.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/oplock_onefs.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/source3/include/oplock_onefs.h b/source3/include/oplock_onefs.h deleted file mode 100644 index a20becdf2c..0000000000 --- a/source3/include/oplock_onefs.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Unix SMB/CIFS implementation. - * Support for OneFS kernel oplocks - * - * Copyright (C) Tim Prouty, 2009 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef _OPLOCK_ONEFS_H -#define _OPLOCK_ONEFS_H - -#if HAVE_ONEFS - -#include <sys/isi_oplock.h> - -struct deferred_open_record { - bool delayed_for_oplocks; - bool failed; /* added for onefs_oplocks */ - struct file_id id; -}; - -/* - * OneFS oplock utility functions - */ -const char *onefs_oplock_str(enum oplock_type onefs_oplock_type); -int onefs_oplock_to_samba_oplock(enum oplock_type onefs_oplock); -enum oplock_type onefs_samba_oplock_to_oplock(int samba_oplock_type); - -/* - * OneFS oplock callback tracking - */ -void destroy_onefs_callback_record(uint64 id); -uint64 onefs_oplock_wait_record(uint16 mid); -void onefs_set_oplock_callback(uint64 id, files_struct *fsp); - -#endif /* HAVE_ONEFS */ - -#endif /* _OPLOCK_ONEFS_H */ |