version 1.89.4.1, 2011/08/08 19:53:29 |
version 1.89.4.2, 2011/08/08 19:56:50 |
Line 1298 fuse_new(struct fuse_chan *fc, struct fu |
|
Line 1298 fuse_new(struct fuse_chan *fc, struct fu |
|
|
|
fuse->fc = fc; |
fuse->fc = fc; |
|
|
|
if (fuse->op.init != NULL) |
|
fusectx->private_data = fuse->op.init(NULL); /* XXX */ |
|
|
/* initialise the puffs operations structure */ |
/* initialise the puffs operations structure */ |
PUFFSOP_INIT(pops); |
PUFFSOP_INIT(pops); |
|
|
Line 1361 fuse_new(struct fuse_chan *fc, struct fu |
|
Line 1364 fuse_new(struct fuse_chan *fc, struct fu |
|
puffs_stat2vattr(&pn_root->pn_va, &st); |
puffs_stat2vattr(&pn_root->pn_va, &st); |
assert(pn_root->pn_va.va_type == VDIR); |
assert(pn_root->pn_va.va_type == VDIR); |
|
|
if (fuse->op.init) |
|
fusectx->private_data = fuse->op.init(NULL); /* XXX */ |
|
|
|
puffs_set_prepost(pu, set_fuse_context_pid, NULL); |
puffs_set_prepost(pu, set_fuse_context_pid, NULL); |
|
|
puffs_zerostatvfs(&svfsb); |
puffs_zerostatvfs(&svfsb); |