diff options
-rw-r--r-- | kernel/fuse_vnops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/fuse_vnops.c b/kernel/fuse_vnops.c index a7e4885..4a76712 100644 --- a/kernel/fuse_vnops.c +++ b/kernel/fuse_vnops.c @@ -1361,7 +1361,8 @@ static void fuse_set_getattr(struct vnode *vp, struct vattr *vap, vap->va_mask = AT_ALL; vap->va_type = vp->v_type; - vap->va_nodeid = VNODE_TO_NODEID(vp); + /* return the file system ino, not the fuse internal nodeid */ + vap->va_nodeid = attr->ino; vap->va_rdev = vp->v_rdev; vap->va_blksize = vp->v_vfsp->vfs_bsize; |