Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 16:53:30 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340770 - stable/12/sys/fs/fuse
Message-ID:  <201811221653.wAMGrUrd089555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Nov 22 16:53:30 2018
New Revision: 340770
URL: https://svnweb.freebsd.org/changeset/base/340770

Log:
  MFC r340639:
  Remove comments made obsolete by the ino64 work.

Modified:
  stable/12/sys/fs/fuse/fuse_internal.c
  stable/12/sys/fs/fuse/fuse_internal.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/fs/fuse/fuse_internal.c
==============================================================================
--- stable/12/sys/fs/fuse/fuse_internal.c	Thu Nov 22 16:52:30 2018	(r340769)
+++ stable/12/sys/fs/fuse/fuse_internal.c	Thu Nov 22 16:53:30 2018	(r340770)
@@ -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: stable/12/sys/fs/fuse/fuse_internal.h
==============================================================================
--- stable/12/sys/fs/fuse/fuse_internal.h	Thu Nov 22 16:52:30 2018	(r340769)
+++ stable/12/sys/fs/fuse/fuse_internal.h	Thu Nov 22 16:53:30 2018	(r340770)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811221653.wAMGrUrd089555>