Date: Mon, 2 Oct 2017 23:23:12 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324226 - head/sys/fs/tmpfs Message-ID: <201710022323.v92NNCfp099799@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710022323.v92NNCfp099799>