Re: Volume Serial Number and Creation time not populated by ksmbd server

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

 



2021-10-30 20:57 GMT+09:00, Steve French <smfrench@xxxxxxxxx>:
> 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?
I will check it.

Thanks!
> --
> Thanks,
>
> Steve
>



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

  Powered by Linux