]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita2c455ffd0d2a35e4547b85672f32460b6ff05c1
treef0fd4e09526dfb72a4d065fa5144f5dc0f5e99b1
parentda128bc752298f6c79715671a7527a789f153b0f
[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