diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-11-28 15:12:48 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-11-28 15:12:48 +0000 |
commit | cafdcb253e4c7ad6238198982425c004b487d2e6 (patch) | |
tree | 8271aaf24fc9470b60458c897f09156bf0921b25 /include/fuse_common.h | |
parent | e9191d5550e36bde10781e4aa84a3fc4be17f609 (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.h | 6 |
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 */ |