]> git.ipfire.org Git - people/arne_f/kernel.git/commit
cifs: fix buffer format byte on NT Rename/hardlink
authorJeff Layton <jlayton@tupile.poochiereds.net>
Thu, 26 Mar 2009 23:05:21 +0000 (23:05 +0000)
committerChris Wright <chrisw@sous-sol.org>
Thu, 2 Apr 2009 20:55:16 +0000 (13:55 -0700)
commit46d2a92135c95066364a8603297b637314a85090
treefa9189682eeb719c52170d7963c6b4d248fbbaca
parent35f0b41fd7342f56c3e756ff27e355d25f2bc06b
cifs: fix buffer format byte on NT Rename/hardlink

upstream commit: fcc7c09d94be7b75c9ea2beb22d0fae191c6b4b9

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/cifs/cifssmb.c