mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
smbd: Make sys_disk_free static
The function is only called from the same file. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Wed Aug 14 17:47:33 UTC 2019 on sn-devel-184
This commit is contained in:
parent
f77c6c8be6
commit
ec05edccee
@ -51,8 +51,11 @@ static void disk_norm(uint64_t *bsize, uint64_t *dfree, uint64_t *dsize)
|
||||
Return number of 1K blocks available on a path and total number.
|
||||
****************************************************************************/
|
||||
|
||||
uint64_t sys_disk_free(connection_struct *conn, struct smb_filename *fname,
|
||||
uint64_t *bsize, uint64_t *dfree, uint64_t *dsize)
|
||||
static uint64_t sys_disk_free(connection_struct *conn,
|
||||
struct smb_filename *fname,
|
||||
uint64_t *bsize,
|
||||
uint64_t *dfree,
|
||||
uint64_t *dsize)
|
||||
{
|
||||
uint64_t dfree_retval;
|
||||
uint64_t dfree_q = 0;
|
||||
|
@ -171,8 +171,6 @@ bool connections_snum_used(struct smbd_server_connection *unused, int snum);
|
||||
|
||||
/* The following definitions come from smbd/dfree.c */
|
||||
|
||||
uint64_t sys_disk_free(connection_struct *conn, struct smb_filename *fname,
|
||||
uint64_t *bsize, uint64_t *dfree, uint64_t *dsize);
|
||||
uint64_t get_dfree_info(connection_struct *conn, struct smb_filename *fname,
|
||||
uint64_t *bsize, uint64_t *dfree, uint64_t *dsize);
|
||||
void flush_dfree_cache(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user