Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/fs/smbfs



Module Name:    src
Committed By:   tron
Date:           Tue Oct 20 20:55:01 UTC 2009

Modified Files:
        src/sys/fs/smbfs: smbfs_smb.c smbfs_subr.h

Log Message:
Add support for 64 bit file offsets to smbfs_smb_setfsize(), largely
based on code taken from FreeBSD.

This stops truncation of files larger than 4GB by VOP_SETATTR() which e.g.
happened when copying large files "rump_smbfs". Kudos to Antti Kantee
for diagnosing the problem in smbfs_smb_setfsize().


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/smbfs/smbfs_smb.c
cvs rdiff -u -r1.19 -r1.20 src/sys/fs/smbfs/smbfs_subr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index