svn commit: r340639 - head/sys/fs/fuse
Mark Johnston
markj at FreeBSD.org
Mon Nov 19 17:33:45 UTC 2018
Author: markj
Date: Mon Nov 19 17:33:44 2018
New Revision: 340639
URL: https://svnweb.freebsd.org/changeset/base/340639
Log:
Remove comments made obsolete by the ino64 work.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/fs/fuse/fuse_internal.c
head/sys/fs/fuse/fuse_internal.h
Modified: head/sys/fs/fuse/fuse_internal.c
==============================================================================
--- head/sys/fs/fuse/fuse_internal.c Mon Nov 19 17:22:52 2018 (r340638)
+++ head/sys/fs/fuse/fuse_internal.c Mon Nov 19 17:33:44 2018 (r340639)
@@ -350,7 +350,7 @@ fuse_internal_readdir_processdata(struct uio *uio,
fiov_adjust(cookediov, bytesavail);
de = (struct dirent *)cookediov->base;
- de->d_fileno = fudge->ino; /* XXX: truncation */
+ de->d_fileno = fudge->ino;
de->d_reclen = bytesavail;
de->d_type = fudge->type;
de->d_namlen = fudge->namelen;
Modified: head/sys/fs/fuse/fuse_internal.h
==============================================================================
--- head/sys/fs/fuse/fuse_internal.h Mon Nov 19 17:22:52 2018 (r340638)
+++ head/sys/fs/fuse/fuse_internal.h Mon Nov 19 17:33:44 2018 (r340639)
@@ -212,7 +212,7 @@ fuse_internal_attr_fat2vat(struct mount *mp,
vattr_null(vap);
vap->va_fsid = mp->mnt_stat.f_fsid.val[0];
- vap->va_fileid = fat->ino; /* XXX cast from 64 bits to 32 */
+ vap->va_fileid = fat->ino;
vap->va_mode = fat->mode & ~S_IFMT;
vap->va_nlink = fat->nlink;
vap->va_uid = fat->uid;
More information about the svn-src-all
mailing list