s4-ntvfs: Add TODO on ea_size
authorAndrew Bartlett <abartlet@samba.org>
Sun, 19 Aug 2012 23:49:30 +0000 (09:49 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 Aug 2012 11:57:46 +0000 (21:57 +1000)
This is almost certainly un-important.

Andrew Bartlett

source4/ntvfs/posix/pvfs_fileinfo.c

index b1fd55acebc04fd0e8b005bf5be94e3a900954db..d2e2aeea26580b41acf4f5bbcc9b7ab83ee81fd8 100644 (file)
@@ -81,7 +81,7 @@ NTSTATUS pvfs_fill_dos_info(struct pvfs_state *pvfs, struct pvfs_filename *name,
        name->dos.attrib = dos_mode_from_stat(pvfs, &name->st);
        name->dos.alloc_size = pvfs_round_alloc_size(pvfs, name->st.st_size);
        name->dos.nlink = name->st.st_nlink;
-       name->dos.ea_size = 4;
+       name->dos.ea_size = 4;  /* TODO: Fill this in without hitting the stream bad in pvfs_doseas_load() */
        if (pvfs->ntvfs->ctx->protocol >= PROTOCOL_SMB2_02) {
                /* SMB2 represents a null EA with zero bytes */
                name->dos.ea_size = 0;