* [PATCH] Adapt to fuse in kernel 2.6.17
@ 2006-11-12 18:45 Robin Rosenberg
2006-11-12 18:56 ` Robin Rosenberg
0 siblings, 1 reply; 5+ messages in thread
From: Robin Rosenberg @ 2006-11-12 18:45 UTC (permalink / raw)
To: git
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));
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] Adapt to fuse in kernel 2.6.17
2006-11-12 18:45 [PATCH] Adapt to fuse in kernel 2.6.17 Robin Rosenberg
@ 2006-11-12 18:56 ` Robin Rosenberg
2006-11-12 19:31 ` Jeff Garzik
0 siblings, 1 reply; 5+ messages in thread
From: Robin Rosenberg @ 2006-11-12 18:56 UTC (permalink / raw)
To: git
This was a patch to GITFS, which may be somewhat unclear from the Subject
line :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Adapt to fuse in kernel 2.6.17
2006-11-12 18:56 ` Robin Rosenberg
@ 2006-11-12 19:31 ` Jeff Garzik
2006-11-12 19:43 ` Junio C Hamano
2006-11-12 20:01 ` Robin Rosenberg
0 siblings, 2 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-11-12 19:31 UTC (permalink / raw)
To: Robin Rosenberg; +Cc: git
Robin Rosenberg wrote:
> This was a patch to GITFS, which may be somewhat unclear from the Subject
> line :)
I blinked, and I missed it. Where can I find gitfs? I've long thought
about doing something like that myself.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Adapt to fuse in kernel 2.6.17
2006-11-12 19:31 ` Jeff Garzik
@ 2006-11-12 19:43 ` Junio C Hamano
2006-11-12 20:01 ` Robin Rosenberg
1 sibling, 0 replies; 5+ messages in thread
From: Junio C Hamano @ 2006-11-12 19:43 UTC (permalink / raw)
To: Jeff Garzik; +Cc: git
Jeff Garzik <jeff@garzik.org> writes:
> Robin Rosenberg wrote:
>> This was a patch to GITFS, which may be somewhat unclear from the
>> Subject line :)
>
> I blinked, and I missed it. Where can I find gitfs? I've long
> thought about doing something like that myself.
http://git.or.cz/gitwiki/InterfacesFrontendsAndTools lists it at
http://www.sfgoth.com/~mitch/linux/gitfs/
Fuse seems to be fun.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Adapt to fuse in kernel 2.6.17
2006-11-12 19:31 ` Jeff Garzik
2006-11-12 19:43 ` Junio C Hamano
@ 2006-11-12 20:01 ` Robin Rosenberg
1 sibling, 0 replies; 5+ messages in thread
From: Robin Rosenberg @ 2006-11-12 20:01 UTC (permalink / raw)
To: Jeff Garzik; +Cc: git
söndag 12 november 2006 20:31 skrev Jeff Garzik:
> Robin Rosenberg wrote:
> > This was a patch to GITFS, which may be somewhat unclear from the Subject
> > line :)
>
> I blinked, and I missed it. Where can I find gitfs? I've long thought
> about doing something like that myself.
It's listed on the wiki and located at
http://www.sfgoth.com/~mitch/linux/gitfs/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-11-12 20:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-12 18:45 [PATCH] Adapt to fuse in kernel 2.6.17 Robin Rosenberg
2006-11-12 18:56 ` Robin Rosenberg
2006-11-12 19:31 ` Jeff Garzik
2006-11-12 19:43 ` Junio C Hamano
2006-11-12 20:01 ` Robin Rosenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox