diff options
author | Csaba Henk <csaba@gluster.com> | 2009-08-25 05:09:28 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-01 16:28:38 -0700 |
commit | 4d479650245d15e6bb5d6993919ebd3eaa68f089 (patch) | |
tree | 24cb58e91ae25a19b370eb43fe685a4e7bb17fcd /xlators | |
parent | 8572d0ced5db512620f515704e2a9c05d6a4589c (diff) | |
download | glusterfs-4d479650245d15e6bb5d6993919ebd3eaa68f089.tar.gz glusterfs-4d479650245d15e6bb5d6993919ebd3eaa68f089.tar.xz glusterfs-4d479650245d15e6bb5d6993919ebd3eaa68f089.zip |
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
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 2 |
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 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; |