commit | 1bbe4997b13de903c421c1cc78440e544b5f9064 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Fri Aug 22 13:32:11 2014 +0400 |
committer | Steve French <smfrench@gmail.com> | Mon Aug 25 16:45:17 2014 -0500 |
tree | bbb98099a72fddd841a64b570355fbe5584fb7db | |
parent | f736906a7669a77cf8cabdcbcf1dc8cb694e12ef [diff] |
CIFS: Fix wrong filename length for SMB2 The existing code uses the old MAX_NAME constant. This causes XFS test generic/013 to fail. Fix it by replacing MAX_NAME with PATH_MAX that SMB1 uses. Also remove an unused MAX_NAME constant definition. Cc: <stable@vger.kernel.org> # v3.7+ Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>