From cafdcb253e4c7ad6238198982425c004b487d2e6 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 28 Nov 2008 15:12:48 +0000 Subject: If open sets fi->nonseekable, libfuse will tell the kernel that the file is not seekable. Patch by Tejun Heo --- include/fuse_common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/fuse_common.h') 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 */ -- cgit v1.2.3