fuse_i.h (2106cb18930312af9325d3418e138569c5b903cc) fuse_i.h (c7b7143c6342b8751d47b03a025ac5c0ac1ae809)
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 105 unchanged lines hidden (view full) ---

114 u64 fh;
115
116 /** Node id of this file */
117 u64 nodeid;
118
119 /** Refcount */
120 atomic_t count;
121
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 105 unchanged lines hidden (view full) ---

114 u64 fh;
115
116 /** Node id of this file */
117 u64 nodeid;
118
119 /** Refcount */
120 atomic_t count;
121
122 /** FOPEN_* flags returned by open */
123 u32 open_flags;
124
122 /** Entry on inode's write_files list */
123 struct list_head write_entry;
124
125 /** RB node to be linked on fuse_conn->polled_files */
126 struct rb_node polled_node;
127
128 /** Wait queue head for poll */
129 wait_queue_head_t poll_wait;

--- 393 unchanged lines hidden (view full) ---

523 loff_t pos, size_t count, int opcode);
524
525/**
526 * Send OPEN or OPENDIR request
527 */
528int fuse_open_common(struct inode *inode, struct file *file, int isdir);
529
530struct fuse_file *fuse_file_alloc(struct fuse_conn *fc);
125 /** Entry on inode's write_files list */
126 struct list_head write_entry;
127
128 /** RB node to be linked on fuse_conn->polled_files */
129 struct rb_node polled_node;
130
131 /** Wait queue head for poll */
132 wait_queue_head_t poll_wait;

--- 393 unchanged lines hidden (view full) ---

526 loff_t pos, size_t count, int opcode);
527
528/**
529 * Send OPEN or OPENDIR request
530 */
531int fuse_open_common(struct inode *inode, struct file *file, int isdir);
532
533struct fuse_file *fuse_file_alloc(struct fuse_conn *fc);
534struct fuse_file *fuse_file_get(struct fuse_file *ff);
531void fuse_file_free(struct fuse_file *ff);
535void fuse_file_free(struct fuse_file *ff);
532void fuse_finish_open(struct inode *inode, struct file *file,
533 struct fuse_file *ff, struct fuse_open_out *outarg);
536void fuse_finish_open(struct inode *inode, struct file *file);
534
535/** Fill in ff->reserved_req with a RELEASE request */
537
538/** Fill in ff->reserved_req with a RELEASE request */
536void fuse_release_fill(struct fuse_file *ff, u64 nodeid, int flags, int opcode);
539void fuse_release_fill(struct fuse_file *ff, int flags, int opcode);
537
538/**
539 * Send RELEASE or RELEASEDIR request
540 */
541int fuse_release_common(struct inode *inode, struct file *file, int isdir);
542
543/**
544 * Send FSYNC or FSYNCDIR request

--- 158 unchanged lines hidden ---
540
541/**
542 * Send RELEASE or RELEASEDIR request
543 */
544int fuse_release_common(struct inode *inode, struct file *file, int isdir);
545
546/**
547 * Send FSYNC or FSYNCDIR request

--- 158 unchanged lines hidden ---