[CIFS] Fix endian conversion of vcnum field
authorSteve French <sfrench@us.ibm.com>
Fri, 1 May 2009 16:21:04 +0000 (16:21 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 1 May 2009 16:25:15 +0000 (16:25 +0000)
commit051a2a0d3242b448281376bb63cfa9385e0b6c68
treef0fd4e09526dfb72a4d065fa5144f5dc0f5e99b1
parente836f015b5c07da2f95a441274ef0a788ce17f80
[CIFS] Fix endian conversion of vcnum field

When multiply mounting from the same client to the same server, with
different userids, we create a vcnum which should be unique if
possible (this is not the same as the smb uid, which is the handle
to the security context).  We were not endian converting additional
(beyond the first which is zero) vcnum properly.

CC: Stable <stable@kernel.org>
Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/sess.c