git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e60cbf
)
vfs_gpfs: do not call disk_norm() on disk_free_fn
author
Uri Simchoni
<uri@samba.org>
Sun, 10 Jan 2016 13:39:44 +0000
(15:39 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Jan 2016 14:58:12 +0000
(15:58 +0100)
This is handled at the SMB layer now.
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index dc53da08bb9e01b2d5bb4e76dcdba53d60b768de..47bbb9d70fc0f333ca479c81ce6b0a6e4d5f0337 100644
(file)
--- a/
source3/modules/vfs_gpfs.c
+++ b/
source3/modules/vfs_gpfs.c
@@
-2204,8
+2204,7
@@
static uint64_t vfs_gpfs_disk_free(vfs_handle_struct *handle, const char *path,
vfs_gpfs_disk_free_quota(qi_user, cur_time, dfree, dsize);
vfs_gpfs_disk_free_quota(qi_group, cur_time, dfree, dsize);
- disk_norm(bsize, dfree, dsize);
- return *dfree;
+ return *dfree / 2;
}
static uint32_t vfs_gpfs_capabilities(struct vfs_handle_struct *handle,