aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index 7f26b65..4bf9a32 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -93,6 +93,9 @@ static inline void set_page_dirty_lock(struct page *page)
/** If more requests are outstanding, then the operation will block */
#define FUSE_MAX_OUTSTANDING 10
+/** It could be as large as PATH_MAX, but would that have any uses? */
+#define FUSE_NAME_MAX 1024
+
/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem
module will check permissions based on the file mode. Otherwise no
permission checking is done in the kernel */
@@ -185,9 +188,6 @@ struct fuse_out {
struct fuse_arg args[3];
};
-struct fuse_req;
-struct fuse_conn;
-
/**
* A request to the client
*/
@@ -285,15 +285,6 @@ struct fuse_conn {
/** Maximum write size */
unsigned max_write;
- /** Maximum path segment length */
- unsigned name_max;
-
- /** Maximum symbolic link size */
- unsigned symlink_max;
-
- /** Maximum size of xattr data */
- unsigned xattr_size_max;
-
/** Readers of the connection are waiting on this */
wait_queue_head_t waitq;