diff options
author | John Baldwin <jhb@FreeBSD.org> | 2017-10-02 23:23:12 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2017-10-02 23:23:12 +0000 |
commit | 9d1d1d1900e60d56d2505beb8286ed7b9dde63c1 (patch) | |
tree | 2e5c0677b9aa7b8658012011fde3dafcff2fc09f /sys/fs | |
parent | af3b49ef4120f8aa97e1bd7de039f5ad55ea6573 (diff) | |
download | src-9d1d1d1900e60d56d2505beb8286ed7b9dde63c1.tar.gz src-9d1d1d1900e60d56d2505beb8286ed7b9dde63c1.zip |
Return 64 for pathconf(_PC_FILESIZEBITS) on tmpfs.
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=324226
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index de686c796f5e..866f4e209dcf 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -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: |