git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec737d9
)
s3: fix the logic in bsd_statvfs
author
Björn Jacke
<bj@sernet.de>
Fri, 29 Jun 2012 15:01:47 +0000
(17:01 +0200)
committer
Bjoern Jacke
<bj@sernet.de>
Fri, 29 Jun 2012 15:19:21 +0000
(17:19 +0200)
source3/smbd/statvfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/statvfs.c
b/source3/smbd/statvfs.c
index f3435958c5f10c38f99a8c5191685d0d672ee03b..85a83c2df86ab820630357f1c43dea33e88534cf 100644
(file)
--- a/
source3/smbd/statvfs.c
+++ b/
source3/smbd/statvfs.c
@@
-82,7
+82,7
@@
static int bsd_statvfs(const char *path, vfs_statvfs_struct *statbuf)
int ret;
ret = statfs(path, &sbuf);
- if (ret
!
= 0) {
+ if (ret
=
= 0) {
statbuf->OptimalTransferSize = sbuf.f_iosize;
statbuf->BlockSize = sbuf.f_bsize;
statbuf->TotalBlocks = sbuf.f_blocks;