freebsd-skq/sys/fs
Andrey V. Elsukov c829016e85 Change the type of newsize argument in the smbfs_smb_setfsize() function
from int to int64.
MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed 64-bit integer
to specify offset, but since smbfs_smb_setfsize() has used plain int,
a value was truncated in case when offset was larger than 2G.
	https://msdn.microsoft.com/en-us/library/ff469975.aspx

In particular, now `truncate -s 10G` will work correctly on the mounted
SMB share.

Reported and tested by:	Eugene Grosbein <eugen at grosbein dot net>
MFC after:	1 week
2016-01-11 18:11:06 +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 Make CUSE usable with platforms where the size of "unsigned long" is 2015-12-22 09:55:44 +00:00
deadfs Style changes for deadfs: 2014-10-15 13:22:33 +00:00
devfs Hide transient EBADF errors caused by the parallel revoke(2) or forced 2016-01-02 20:29:28 +00:00
ext2fs ext2fs: reading mmaped file in Ext4 causes panic 2016-01-07 21:43:43 +00:00
fdescfs fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
fifofs Ensure that when a blockable open of fifo returns success, a valid 2015-09-20 21:18:33 +00:00
fuse Fix breakage caused by r292373 in ZFS/FUSE/NFS/SMBFS. 2015-12-16 23:48:50 +00:00
msdosfs File systems that do not use the buffer cache (such as ZFS) must 2015-04-15 20:16:31 +00:00
nandfs File systems that do not use the buffer cache (such as ZFS) must 2015-04-15 20:16:31 +00:00
nfs Fix the memory leak that occurs when the nfscommon.ko module is unloaded. 2015-12-02 02:47:13 +00:00
nfsclient Fix breakage caused by r292373 in ZFS/FUSE/NFS/SMBFS. 2015-12-16 23:48:50 +00:00
nfsserver Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
nullfs Force nullfs vnode reclaim after unlinking, to potentially unlink 2015-12-30 19:49:22 +00:00
procfs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
pseudofs Hide vfs.pfs.trace variable if it is not used. 2015-05-24 18:11:22 +00:00
smbfs Change the type of newsize argument in the smbfs_smb_setfsize() function 2016-01-11 18:11:06 +00:00
tmpfs A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES(). 2015-12-16 21:30:45 +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 Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT. 2015-07-05 22:37:33 +00:00