libtrivfs/ChangeLog 2001-04-11 Neal H Walfield <n...@cs.uml.edu> * file-record-lock.c: New file. Implement netfs_S_file_record_lock. * Makefile (SRCS): Add file-record-lock.c --- libtrivfs/Makefile | 2 +- libtrivfs/file-record-lock.c | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 libtrivfs/file-record-lock.c
diff --git a/libtrivfs/Makefile b/libtrivfs/Makefile index 921acbe..9014064 100644 --- a/libtrivfs/Makefile +++ b/libtrivfs/Makefile @@ -25,7 +25,7 @@ FSSRCS= dir-link.c dir-mkdir.c dir-mkfile.c dir-lookup.c dir-readdir.c \ file-getlinknode.c file-lock.c file-set-trans.c file-statfs.c \ file-sync.c file-syncfs.c file-set-size.c file-utimes.c file-exec.c \ file-access.c dir-chg.c file-chg.c file-get-storage-info.c \ - file-get-fs-options.c file-reparent.c get-source.c + file-get-fs-options.c file-record-lock.c file-reparent.c get-source.c IOSRCS=io-async-icky.c io-async.c io-duplicate.c io-map.c io-modes-get.c \ io-modes-off.c io-modes-on.c io-modes-set.c io-owner-get.c \ diff --git a/libtrivfs/file-record-lock.c b/libtrivfs/file-record-lock.c new file mode 100644 index 0000000..c8a705e --- /dev/null +++ b/libtrivfs/file-record-lock.c @@ -0,0 +1,27 @@ +/* + Copyright (C) 2001, 2014 Free Software Foundation + + 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 2, 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 the GNU Hurd. If not, see <http://www.gnu.org/licenses/>. */ + +#include "priv.h" +#include "trivfs_fs_S.h" + +kern_return_t +trivfs_S_file_record_lock (struct trivfs_protid *cred, + mach_port_t reply, + mach_msg_type_name_t reply_type, + int cmd, struct flock64 *lock) +{ + return EOPNOTSUPP; +} -- 2.1.4