Changeset 480 for trunk/server/source3/smbd/smb2_create.c
- Timestamp:
- Aug 2, 2010, 8:16:45 PM (15 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 453,478
- Property svn:mergeinfo changed
-
trunk/server/source3/smbd/smb2_create.c
r414 r480 652 652 if (qfid) { 653 653 uint8_t p[32]; 654 uint64_t file_index = get_FileIndex(result->conn, 655 &result->fsp_name->st); 654 656 DATA_BLOB blob = data_blob_const(p, sizeof(p)); 655 657 656 658 ZERO_STRUCT(p); 657 659 658 /* TODO: maybe use result->file_id */ 659 SIVAL(p, 0, result->fsp_name->st.st_ex_ino);/* FileIndexLow */ 660 SIVAL(p, 4, result->fsp_name->st.st_ex_dev);/* FileIndexHigh */ 660 /* From conversations with Microsoft engineers at 661 the MS plugfest. The first 8 bytes are the "volume index" 662 == inode, the second 8 bytes are the "volume id", 663 == dev. This will be updated in the SMB2 doc. */ 664 SBVAL(p, 0, file_index); 665 SIVAL(p, 8, result->fsp_name->st.st_ex_dev);/* FileIndexHigh */ 661 666 662 667 status = smb2_create_blob_add(state, &out_context_blobs,
Note:
See TracChangeset
for help on using the changeset viewer.