mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4-smb: declare root_fid as a file handle
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
This commit is contained in:
@ -1418,7 +1418,7 @@ union smb_open {
|
||||
enum smb_open_level level;
|
||||
struct {
|
||||
uint32_t flags;
|
||||
uint32_t root_fid;
|
||||
union smb_handle root_fid;
|
||||
uint32_t access_mask;
|
||||
uint64_t alloc_size;
|
||||
uint32_t file_attr;
|
||||
@ -1628,7 +1628,7 @@ union smb_open {
|
||||
enum smb_open_level level;
|
||||
struct {
|
||||
uint32_t flags;
|
||||
uint32_t root_fid;
|
||||
union smb_handle root_fid;
|
||||
uint32_t access_mask;
|
||||
uint64_t alloc_size;
|
||||
uint32_t file_attr;
|
||||
|
Reference in New Issue
Block a user