svn commit: r324226 - head/sys/fs/tmpfs

John Baldwin jhb at FreeBSD.org
Mon Oct 2 23:23:14 UTC 2017


Author: jhb
Date: Mon Oct  2 23:23:12 2017
New Revision: 324226
URL: https://svnweb.freebsd.org/changeset/base/324226

Log:
  Return 64 for pathconf(_PC_FILESIZEBITS) on tmpfs.
  
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/fs/tmpfs/tmpfs_vnops.c

Modified: head/sys/fs/tmpfs/tmpfs_vnops.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_vnops.c	Mon Oct  2 23:14:29 2017	(r324225)
+++ head/sys/fs/tmpfs/tmpfs_vnops.c	Mon Oct  2 23:23:12 2017	(r324226)
@@ -1353,7 +1353,7 @@ tmpfs_pathconf(struct vop_pathconf_args *v)
 		break;
 
 	case _PC_FILESIZEBITS:
-		*retval = 0; /* XXX Don't know which value should I return. */
+		*retval = 64;
 		break;
 
 	default:


More information about the svn-src-all mailing list