summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_commit.c')
-rw-r--r--source3/modules/vfs_commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index a8105e021e..c22e8161d7 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -220,7 +220,7 @@ static int commit_open(
if (SMB_VFS_FSTAT(fsp, &st) == -1) {
return -1;
}
- c->eof = st.st_size;
+ c->eof = st.st_ex_size;
}
return 0;