Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT
[abartlet/samba.git/.git] / source3 / modules / vfs_commit.c
index a8105e021edb007bbda83be46ac481b2e98c558d..c22e8161d70d561987c51b2505e31fe62342a26f 100644 (file)
@@ -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;