From: Ralph Boehme Date: Thu, 2 Apr 2020 08:29:15 +0000 (+0200) Subject: smbd: reindent if expression in real_write_file() X-Git-Tag: ldb-2.2.0~999 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fed1bc2293edd1f66d452140405aac5699da439b;p=thirdparty%2Fsamba.git smbd: reindent if expression in real_write_file() No change in behaviour. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c index 272262d78cd..54f04404ca7 100644 --- a/source3/smbd/fileio.c +++ b/source3/smbd/fileio.c @@ -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; }