diff options
| -rw-r--r-- | source3/smbd/open.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index b5d8466e7e..a445524f16 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3643,6 +3643,11 @@ static NTSTATUS create_file_unixpath(connection_struct *conn,  			fsp->base_fsp = base_fsp;  		} +		if (allocation_size) { +			fsp->initial_allocation_size = smb_roundup(fsp->conn, +							allocation_size); +		} +  		status = open_file_ntcreate(conn,  					    req,  					    access_mask,  | 
