return fvalid;
if (ivalid & ATTR_FILE) { struct fuse_file *ff = iattr->ia_file->private_data; arg->valid |= FATTR_FH; arg->fh = ff->fh; }
static unsigned iattr_to_fattr(struct iattr *iattr, struct fuse_attr *fattr){	unsigned ivalid = iattr->ia_valid;	unsigned fvalid = 0;	memset(fattr, 0, sizeof(*fattr));	if (ivalid & ATTR_MODE)		fvalid |= FATTR_MODE,   fattr->mode = iattr->ia_mode;	if (ivalid & ATTR_UID)		fvalid |= FATTR_UID,    fattr->uid = iattr->ia_uid;	if (ivalid & ATTR_GID)		fvalid |= FATTR_GID,    fattr->gid = iattr->ia_gid;	if (ivalid & ATTR_SIZE)		fvalid |= FATTR_SIZE,   fattr->size = iattr->ia_size;	/* You can only _set_ these together (they may change by themselves) */	if ((ivalid & (ATTR_ATIME | ATTR_MTIME)) == (ATTR_ATIME | ATTR_MTIME)) {		fvalid |= FATTR_ATIME | FATTR_MTIME;		fattr->atime = iattr->ia_atime.tv_sec;		fattr->mtime = iattr->ia_mtime.tv_sec;	}	return fvalid;}