aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2018-06-18 13:41:07 +0200
committerNikolaus Rath <Nikolaus@rath.org>2018-11-19 12:33:56 +0000
commit4c699e7debd99b178b9574e7dd20f36937ef296e (patch)
tree325901ad1157752994217d70cba24412e9e62e44 /include
parent11d9ed614f9000cff349f077983e83b7901e7ed2 (diff)
downloadlibfuse-4c699e7debd99b178b9574e7dd20f36937ef296e.tar.gz
Update kernel API headers
Taken from Linux kernel commit 3b7008b226f3.
Diffstat (limited to 'include')
-rw-r--r--include/fuse_kernel.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index 42fa977..92fa24c 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
/*
This file defines the kernel interface of FUSE
Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
@@ -112,6 +113,9 @@
* 7.26
* - add FUSE_HANDLE_KILLPRIV
* - add FUSE_POSIX_ACL
+ *
+ * 7.27
+ * - add FUSE_ABORT_ERROR
*/
#ifndef _LINUX_FUSE_H
@@ -147,7 +151,7 @@
#define FUSE_KERNEL_VERSION 7
/** Minor version number of this interface */
-#define FUSE_KERNEL_MINOR_VERSION 26
+#define FUSE_KERNEL_MINOR_VERSION 27
/** The node ID of the root inode */
#define FUSE_ROOT_ID 1
@@ -244,6 +248,7 @@ struct fuse_file_lock {
* FUSE_PARALLEL_DIROPS: allow parallel lookups and readdir
* FUSE_HANDLE_KILLPRIV: fs handles killing suid/sgid/cap on write/chown/trunc
* FUSE_POSIX_ACL: filesystem supports posix acls
+ * FUSE_ABORT_ERROR: reading the device after abort returns ECONNABORTED
*/
#define FUSE_ASYNC_READ (1 << 0)
#define FUSE_POSIX_LOCKS (1 << 1)
@@ -266,6 +271,7 @@ struct fuse_file_lock {
#define FUSE_PARALLEL_DIROPS (1 << 18)
#define FUSE_HANDLE_KILLPRIV (1 << 19)
#define FUSE_POSIX_ACL (1 << 20)
+#define FUSE_ABORT_ERROR (1 << 21)
/**
* CUSE INIT request/reply flags