Sigh, stupid control-enter keybinding in gmail
What I meant to say was:
BTW, this chunk in fusefs_setattr():
On Sat, Aug 27, 2016 at 8:50 PM, Philip Guenther wrote:
> if (io->fi_flags & FUSE_FATTR_SIZE && vp->v_type == VDIR) {
> error = EISDIR;
> goto
if (io->fi_flags & FUSE_FATTR_SIZE && vp->v_type == VDIR) {
error = EISDIR;
goto out;
}
On Sat, Aug 27, 2016 at 4:42 AM, Martin Natano wrote:
> In struct fusebuf the attributes (used for getattr/setattr and to return
> the ino/mode of a newly created file) are stored in a struct vattr. The
> problem with this is, that using struct vattr in userspace is suboptimal
> as some related he
In struct fusebuf the attributes (used for getattr/setattr and to return
the ino/mode of a newly created file) are stored in a struct vattr. The
problem with this is, that using struct vattr in userspace is suboptimal
as some related helpers are not available, e.g. VATTR_NULL() and IFTOVT().
What