"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xlators/mount/fuse/src/fuse-bridge.c" between
glusterfs-9.1.tar.gz and glusterfs-9.2.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 9.x (latest version).

fuse-bridge.c  (glusterfs-9.1):fuse-bridge.c  (glusterfs-9.2)
skipping to change at line 2236 skipping to change at line 2236
static void static void
fuse_mknod(xlator_t *this, fuse_in_header_t *finh, void *msg, fuse_mknod(xlator_t *this, fuse_in_header_t *finh, void *msg,
struct iobuf *iobuf) struct iobuf *iobuf)
{ {
struct fuse_mknod_in *fmi = msg; struct fuse_mknod_in *fmi = msg;
char *name = (char *)(fmi + 1); char *name = (char *)(fmi + 1);
fuse_state_t *state = NULL; fuse_state_t *state = NULL;
#if FUSE_KERNEL_MINOR_VERSION >= 12 #if FUSE_KERNEL_MINOR_VERSION >= 12
fuse_private_t *priv = NULL; fuse_private_t *priv = NULL;
int32_t ret = -1;
priv = this->private; priv = this->private;
if (priv->proto_minor < 12) if (priv->proto_minor < 12)
name = (char *)msg + FUSE_COMPAT_MKNOD_IN_SIZE; name = (char *)msg + FUSE_COMPAT_MKNOD_IN_SIZE;
#endif #endif
GET_STATE(this, finh, state); GET_STATE(this, finh, state);
gf_uuid_generate(state->gfid); gf_uuid_generate(state->gfid);
skipping to change at line 2307 skipping to change at line 2308
} }
static void static void
fuse_mkdir(xlator_t *this, fuse_in_header_t *finh, void *msg, fuse_mkdir(xlator_t *this, fuse_in_header_t *finh, void *msg,
struct iobuf *iobuf) struct iobuf *iobuf)
{ {
struct fuse_mkdir_in *fmi = msg; struct fuse_mkdir_in *fmi = msg;
char *name = (char *)(fmi + 1); char *name = (char *)(fmi + 1);
#if FUSE_KERNEL_MINOR_VERSION >= 12 #if FUSE_KERNEL_MINOR_VERSION >= 12
fuse_private_t *priv = NULL; fuse_private_t *priv = NULL;
int32_t ret = -1;
#endif #endif
fuse_state_t *state; fuse_state_t *state;
GET_STATE(this, finh, state); GET_STATE(this, finh, state);
gf_uuid_generate(state->gfid); gf_uuid_generate(state->gfid);
fuse_resolve_entry_init(state, &state->resolve, finh->nodeid, name); fuse_resolve_entry_init(state, &state->resolve, finh->nodeid, name);
skipping to change at line 2832 skipping to change at line 2834
state->flags, state->mode, state->umask, fd, state->xdata); state->flags, state->mode, state->umask, fd, state->xdata);
} }
static void static void
fuse_create(xlator_t *this, fuse_in_header_t *finh, void *msg, fuse_create(xlator_t *this, fuse_in_header_t *finh, void *msg,
struct iobuf *iobuf) struct iobuf *iobuf)
{ {
#if FUSE_KERNEL_MINOR_VERSION >= 12 #if FUSE_KERNEL_MINOR_VERSION >= 12
struct fuse_create_in *fci = msg; struct fuse_create_in *fci = msg;
fuse_private_t *priv = NULL; fuse_private_t *priv = NULL;
int32_t ret = -1;
#else #else
struct fuse_open_in *fci = msg; struct fuse_open_in *fci = msg;
#endif #endif
char *name = (char *)(fci + 1); char *name = (char *)(fci + 1);
fuse_state_t *state = NULL; fuse_state_t *state = NULL;
#if FUSE_KERNEL_MINOR_VERSION >= 12 #if FUSE_KERNEL_MINOR_VERSION >= 12
priv = this->private; priv = this->private;
if (priv->proto_minor < 12) if (priv->proto_minor < 12)
 End of changes. 3 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)