mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
8718dae6b8
commit
fed1bc2293
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user