summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-08-25 05:09:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-01 16:28:38 -0700
commit4d479650245d15e6bb5d6993919ebd3eaa68f089 (patch)
tree24cb58e91ae25a19b370eb43fe685a4e7bb17fcd
parent8572d0ced5db512620f515704e2a9c05d6a4589c (diff)
fuse: protocol fix: fix bogus parsing of MKDIR message
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index d20876a3bba..eff40ce5334 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;