freebsd-skq/sys/fs
Will Andrews 677c3c0c66 tmpfs_getattr(): Return more correct allocated byte counts.
For VREG vnodes, return the resident page count (multiplied by PAGE_SIZE)
for the tmpfs node's anonymous VM object that stores actual file contents.

For all other vnodes, return the tmpfs_node's tn_size, which should not
be rounded to a page.

This change allows using stat(2) to identify a sparse file on tmpfs.

Reviewed by:	kib
MFC after:	1 week
2015-04-10 19:04:39 +00:00
..
autofs Restore ABI compatibility, broken in r273127. Note that while this fixes 2015-02-10 16:17:16 +00:00
cd9660 Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using 2015-01-29 20:40:25 +00:00
cuse Don't use POLLNVAL as a return value from the client side poll 2015-01-13 13:32:18 +00:00
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs Refine r280308. Do not completely disable timestamping of devfs nodes 2015-04-01 08:25:40 +00:00
ext2fs ext2fs: Plug small memory leak 2015-02-15 14:25:00 +00:00
fdescfs Some fixes for fdescfs lookup code. 2015-02-28 19:57:22 +00:00
fifofs Make SIGSTOP working for sleeps done while waiting for fifo readers or 2015-01-18 15:03:26 +00:00
fuse Fix white spaces. 2015-03-02 19:14:58 +00:00
msdosfs Do not call msdosfs_sync() on the read-only msdosfs mounts. In fact, 2015-04-05 21:10:38 +00:00
nandfs nandfs_meta_bread() calls bread() which can set bp to NULL in some 2015-03-01 21:41:37 +00:00
nfs Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nfsclient o Enhance vm_pager_free_nonreq() function: 2015-03-17 19:19:19 +00:00
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nullfs Convert nullfs hash lock from a mutex to an rwlock. 2014-12-30 21:41:35 +00:00
procfs The process spin lock currently has the following distinct uses: 2014-11-26 14:10:00 +00:00
pseudofs Redo r258088 to avoid relying on signed arithmetic overflow, since 2013-11-20 19:41:00 +00:00
smbfs Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No 2015-01-30 22:02:32 +00:00
tmpfs tmpfs_getattr(): Return more correct allocated byte counts. 2015-04-10 19:04:39 +00:00
udf Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No 2015-01-30 22:01:45 +00:00
unionfs The VOP_LOOKUP() implementations for CREATE op do not put the name 2014-12-18 10:01:12 +00:00