]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Endian convert UniqueId when reporting inode numbers from server files
authorSteve French <sfrench@us.ibm.com>
Wed, 1 Apr 2009 05:22:00 +0000 (05:22 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 17 Apr 2009 01:26:48 +0000 (01:26 +0000)
commit4475c1504bb03315b8da79b26b8b808550c97d2c
tree141a35196516dc428fe2891b7c7da02d0133ecad
parent0e50172dc4bdb87a1002a30013d693f868d9f1c5
[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>
fs/cifs/CHANGES
fs/cifs/cifspdu.h
fs/cifs/cifssmb.c
fs/cifs/dir.c
fs/cifs/inode.c
fs/cifs/readdir.c