diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-24 08:08:05 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-24 08:08:05 +0000 |
commit | 2565ccf9de9d5e80fdb5bcadbc7130faba386d95 (patch) | |
tree | 5b5846e0b28aa29db5c410336f8e258994d85423 /source/smbd | |
parent | 9d863fb1681a5b03696552e1d93fe339b4bae455 (diff) | |
download | samba-2565ccf9de9d5e80fdb5bcadbc7130faba386d95.tar.gz samba-2565ccf9de9d5e80fdb5bcadbc7130faba386d95.tar.xz samba-2565ccf9de9d5e80fdb5bcadbc7130faba386d95.zip |
volker was concerned about unique inode numbers and smbsh. This set of
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to
try to provide inode numbers. If it is 0 then use the hash of the
filename as before.
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/trans2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 44e9d499e21..f0bd458798f 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -1432,6 +1432,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn, CVAL(pdata,20) = 0; CVAL(pdata,21) = (mode&aDIR)?1:0; pdata += 24; + SINO_T(pdata,0,(SMB_INO_T)sbuf.st_ino); pdata += 8; /* index number */ pdata += 4; /* EA info */ if (mode & aRONLY) |