From 154ffe2c27e84a29eafedc5327f663a313f2721a Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 15 Dec 2005 16:41:20 +0000 Subject: fix --- kernel/fuse_i.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'kernel/fuse_i.h') 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; -- cgit v1.2.3