mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Make oldsize in smbfs_getattr() 64 bits wide instead of 32 to avoid
truncation when files are larger than 4GB.
This commit is contained in:
parent
55971c63cd
commit
07a65634d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123724
@ -272,7 +272,7 @@ smbfs_getattr(ap)
|
||||
struct vattr *va=ap->a_vap;
|
||||
struct smbfattr fattr;
|
||||
struct smb_cred scred;
|
||||
u_int32_t oldsize;
|
||||
u_quad_t oldsize;
|
||||
int error;
|
||||
|
||||
SMBVDEBUG("%lx: '%s' %d\n", (long)vp, np->n_name, (vp->v_vflag & VV_ROOT) != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user