From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: git@vger.kernel.org
Subject: [PATCH] Adapt to fuse in kernel 2.6.17
Date: Sun, 12 Nov 2006 19:45:19 +0100 [thread overview]
Message-ID: <20061112184519.8713.7707.stgit@lathund.dewire.com> (raw)
From: Robin Rosenberg <robin.rosenberg@dewire.com>
---
Makefile | 2 +-
api-fuse.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 8668a03..e80661f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ GITCFLAGS = '-DSHA1_HEADER=<openssl/sha.
GITLDFLAGS = $(GITDIR)/libgit.a -lcrypto -lz
# What flags are required to build against FUSE
-FUSECFLAGS = '-DFUSE_HEADER="/usr/src/linux-2.6.14.4/include/linux/fuse.h"'
+FUSECFLAGS = '-DFUSE_HEADER="/usr/src/linux-2.6.17-5mdv/include/linux/fuse.h"'
OBJS = gitobj.o api-fuse.o gnode.o topdir.o util.o tagdir.o autotree.o \
gitdir.o main.o worktree.o openfile.o gitworker.o rbtree.o pcbuf.o \
diff --git a/api-fuse.c b/api-fuse.c
index aba5088..28c5da0 100644
--- a/api-fuse.c
+++ b/api-fuse.c
@@ -146,7 +146,7 @@ struct fuse_out {
struct fuse_write_out write;
struct fuse_statfs_out statfs;
struct fuse_getxattr_out getxattr;
- struct fuse_init_in_out init;
+ struct fuse_init_in init;
char read[0];
} arg;
};
@@ -307,7 +307,7 @@ struct fuse_in {
struct fuse_getxattr_in chdr;
char name[0];
} getxattr;
- struct fuse_init_in_out init;
+ struct fuse_init_in init;
/*
* lookup, unlink, rmdir, and removexattr just take a
* string; no per-command header. symlink takes two
@@ -980,7 +980,7 @@ enum service_result api_service_poll(voi
{
union {
struct fuse_in f;
- unsigned char storage[FUSE_MAX_IN];
+ unsigned char storage[FUSE_MIN_READ_BUFFER];
} in;
int rv = read(fuse_fd, in.storage, sizeof(in.storage));
next reply other threads:[~2006-11-12 18:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-12 18:45 Robin Rosenberg [this message]
2006-11-12 18:56 ` [PATCH] Adapt to fuse in kernel 2.6.17 Robin Rosenberg
2006-11-12 19:31 ` Jeff Garzik
2006-11-12 19:43 ` Junio C Hamano
2006-11-12 20:01 ` Robin Rosenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061112184519.8713.7707.stgit@lathund.dewire.com \
--to=robin.rosenberg@dewire.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).