summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-29 15:31:56 -0800
committerJeremy Allison <jra@samba.org>2009-01-29 15:31:56 -0800
commitc1332943db6630c1dd916040bdbc9f7627ade148 (patch)
treebd3881893bb50ee5962c8060c7556250db289c7f /source3/smbd/nttrans.c
parent164fd3cb3398b14fa02f13e5618465678b27ad07 (diff)
parentd1ab1b6482d7413337b42de83d7de1ae016d33e1 (diff)
downloadsamba-c1332943db6630c1dd916040bdbc9f7627ade148.tar.gz
samba-c1332943db6630c1dd916040bdbc9f7627ade148.tar.bz2
samba-c1332943db6630c1dd916040bdbc9f7627ade148.zip
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 1ee3edbdbe..0ad4df6e90 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -621,7 +621,7 @@ void reply_ntcreate_and_X(struct smb_request *req)
p += 8;
SIVAL(p,0,fattr); /* File Attributes. */
p += 4;
- SOFF_T(p, 0, get_allocation_size(conn,fsp,&sbuf));
+ SOFF_T(p, 0, SMB_VFS_GET_ALLOC_SIZE(conn,fsp,&sbuf));
p += 8;
SOFF_T(p,0,file_len);
p += 8;
@@ -1086,7 +1086,7 @@ static void call_nt_transact_create(connection_struct *conn,
p += 8;
SIVAL(p,0,fattr); /* File Attributes. */
p += 4;
- SOFF_T(p, 0, get_allocation_size(conn,fsp,&sbuf));
+ SOFF_T(p, 0, SMB_VFS_GET_ALLOC_SIZE(conn,fsp,&sbuf));
p += 8;
SOFF_T(p,0,file_len);
p += 8;