aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-03-15 16:44:35 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-03-15 16:48:27 -0700
commitee0b29552ae92a6d991b02c778377fda6bfbfac5 (patch)
tree0f1dfb369b96c2f8be41f15cbc8e7858810fd999 /include/fuse_lowlevel.h
parent13df95268223a2757d0e9000d3ab10980541a814 (diff)
open(): fix documentation of O_TRUNC flag
The FUSE_CAP_ATOMIC_IO_TRUNC capability is enabled by default, but we didn't update the open() documentation accordingly.
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 835b420..987b24d 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -439,14 +439,8 @@ struct fuse_lowlevel_ops {
/**
* Open a file
*
- * Open flags are available in fi->flags. Creation (O_CREAT,
- * O_EXCL, O_NOCTTY) and by default also truncation (O_TRUNC)
- * flags will be filtered out. If an application specifies
- * O_TRUNC, fuse first calls truncate() and then open().
- *
- * If filesystem is able to handle O_TRUNC directly, the
- * init() handler should set the `FUSE_CAP_ATOMIC_O_TRUNC` bit
- * in ``conn->want``.
+ * Open flags are available in fi->flags. Creation (O_CREAT,
+ * O_EXCL, O_NOCTTY) flags will be filtered out.
*
* Filesystem may store an arbitrary file handle (pointer,
* index, etc) in fi->fh, and use this in other all other file