Fix stat results to be consistent between smbc_stat and smbc_fstat.
commit096e40c9169b2121a82c42d3cf31cbfb869603ce
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 14:29:13 +0000 (17 09:29 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 14:29:13 +0000 (17 09:29 -0500)
tree387d589ec96a68a2a82114563312179c05635090
parentdba2400192e7d3afb9d1c48f52eeccd0c2f660e9
Fix stat results to be consistent between smbc_stat and smbc_fstat.

We create a kludged inode based on the checksum of the path.  We therefore
need to use the same (full) path when calculating it in both smbc_stat() and
smbc_fstat().

If struct stat has an rdev field, set it to zero.

Derrell
(This used to be commit b4282fbd6d27d868b2d5c04bb72d2d7421822da1)
source3/libsmb/libsmbclient.c