From 4d479650245d15e6bb5d6993919ebd3eaa68f089 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 25 Aug 2009 05:09:28 +0000 Subject: fuse: protocol fix: fix bogus parsing of MKDIR message Signed-off-by: Anand V. Avati BUG: 226 (mkdir after rm of regular file of same name fails) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=226 --- xlators/mount/fuse/src/fuse-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index d20876a3bb..eff40ce533 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -1215,7 +1215,7 @@ fuse_mknod (xlator_t *this, fuse_in_header_t *finh, void *msg) static void fuse_mkdir (xlator_t *this, fuse_in_header_t *finh, void *msg) { - struct fuse_mknod_in *fmi = msg; + struct fuse_mkdir_in *fmi = msg; char *name = (char *)(fmi + 1); fuse_state_t *state; -- cgit