From: Pavel Shilovsky Date: Fri, 22 Aug 2014 09:32:11 +0000 (+0400) Subject: CIFS: Fix wrong filename length for SMB2 X-Git-Tag: fixes-for-v3.18-merge-window~154^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbe4997b13de903c421c1cc78440e544b5f9064;p=pandora-kernel.git 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: # v3.7+ Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed