You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[CIFS] Endian convert UniqueId when reporting inode numbers from server files
Jeff made a good point that we should endian convert the UniqueId when we use it to set i_ino Even though this value is opaque to the client, when comparing the inode numbers of the same server file from two different clients (one big endian, one little endian) or when we compare a big endian client's view of i_ino with what the server thinks - we should get the same value Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
+2
-1
@@ -15,7 +15,8 @@ Posix file open support added (turned off after one attempt if server
|
||||
fails to support it properly, as with Samba server versions prior to 3.3.2)
|
||||
Fix "redzone overwritten" bug in cifs_put_tcon (CIFSTcon may allocate too
|
||||
little memory for the "nativeFileSystem" field returned by the server
|
||||
during mount).
|
||||
during mount). Endian convert inode numbers if necessary (makes it easier
|
||||
to compare inode numbers on network files from big endian systems).
|
||||
|
||||
Version 1.56
|
||||
------------
|
||||
|
||||
Reference in New Issue
Block a user