1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

smbd: reindent if expression in real_write_file()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-04-02 10:29:15 +02:00 committed by Jeremy Allison
parent 8718dae6b8
commit fed1bc2293

View File

@ -71,8 +71,10 @@ static ssize_t real_write_file(struct smb_request *req,
ssize_t ret;
fsp->fh->pos = pos;
if (pos && lp_strict_allocate(SNUM(fsp->conn)) &&
!fsp->is_sparse) {
if (pos &&
lp_strict_allocate(SNUM(fsp->conn)) &&
!fsp->is_sparse)
{
if (vfs_fill_sparse(fsp, pos) == -1) {
return -1;
}