aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2008-11-28 15:12:48 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2008-11-28 15:12:48 +0000
commitcafdcb253e4c7ad6238198982425c004b487d2e6 (patch)
tree8271aaf24fc9470b60458c897f09156bf0921b25 /include/fuse_common.h
parente9191d5550e36bde10781e4aa84a3fc4be17f609 (diff)
If open sets fi->nonseekable, libfuse will tell the kernel that the file is not seekable. Patch by Tejun Heo
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 2543225..9bbc386 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -65,8 +65,12 @@ struct fuse_file_info {
operation. Introduced in version 2.6 */
unsigned int flush : 1;
+ /** Can be filled in by open, to indicate that the file is not
+ seekable. Introduced in version 2.9 */
+ unsigned int nonseekable : 1;
+
/** Padding. Do not use*/
- unsigned int padding : 29;
+ unsigned int padding : 28;
/** File handle. May be filled in by filesystem in open().
Available in all other file operations */