aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-17 14:43:40 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-17 14:43:40 +0000
commite3b803b148247bc77038bba9d5d98f4c2609502a (patch)
tree9409069b1bfa51b5ab45ecad89b04c3f49c637b0
parente7f8ebb45ed323323752c0694407bf59489ec720 (diff)
downloadsrc-e3b803b148247bc77038bba9d5d98f4c2609502a.tar.gz
src-e3b803b148247bc77038bba9d5d98f4c2609502a.zip
Forgot to replace code to set fsid in vop_getattr.
Notes
Notes: svn path=/head/; revision=143755
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c1
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index e894ee656947..e4f6336b35ee 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -188,6 +188,7 @@ cd9660_getattr(ap)
struct vattr *vap = ap->a_vap;
struct iso_node *ip = VTOI(vp);
+ vap->va_fsid = dev2udev(ip->i_mnt->im_dev);
vap->va_fileid = ip->i_number;
vap->va_mode = ip->inode.iso_mode;
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index e894ee656947..e4f6336b35ee 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -188,6 +188,7 @@ cd9660_getattr(ap)
struct vattr *vap = ap->a_vap;
struct iso_node *ip = VTOI(vp);
+ vap->va_fsid = dev2udev(ip->i_mnt->im_dev);
vap->va_fileid = ip->i_number;
vap->va_mode = ip->inode.iso_mode;