Volume Serial Number and Creation time not populated by ksmbd server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When debugging an fscache problem with Dave Howells, I noticed that
ksmbd does not populate the VolumeCreationTime or VolumeSerialNumber
in QUERY_FS_INFO for level FS_VOLUME_INFO (see
smb2_get_info_filesystem() in fs/ksmbd/smb2pdu.c)

                info->VolumeCreationTime = 0;
                /* Taking dummy value of serial number*/
                info->SerialNumber = cpu_to_le32(0xbc3ac512);

Can we fix at least one of these to query info from the underlying fs
to populate this so our fscache info is more unique by fs?
-- 
Thanks,

Steve



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux