]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix buffer format byte on NT Rename/hardlink
authorJeff Layton <jlayton@tupile.poochiereds.net>
Sat, 28 Feb 2009 17:59:03 +0000 (12:59 -0500)
committerSteve French <sfrench@us.ibm.com>
Thu, 12 Mar 2009 01:36:21 +0000 (01:36 +0000)
commit99dbe3dd4144df0b50f916ea219df313f666b816
treecda830aadd2f9cccc5390290ac97b1ca48520bb6
parent8ee39d365ebfb7e07d6b7a3ef5f4a23b6b8635a6
cifs: fix buffer format byte on NT Rename/hardlink

Discovered at Connnectathon 2009...

The buffer format byte and the pad are transposed in NT_RENAME calls
(which are used to set hardlinks). Most servers seem to ignore this
fact, but NetApp filers throw back an error due to this problem. This
patch fixes it.

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