diff mbox

CIFS: fix mapping of SFM_SPACE and SFM_PERIOD

Message ID 20170503220632.GA20285@SerNet.DE (mailing list archive)
State New, archived
Headers show

Commit Message

Björn JACKE May 3, 2017, 10:06 p.m. UTC
Hi,

please review and apply to current and long-term kernels like 4.9, please.

Björn

Comments

Steve French May 4, 2017, 12:41 a.m. UTC | #1
added cc: stable and merged into cifs-2.6.git

On Wed, May 3, 2017 at 5:06 PM, Björn JACKE <bjacke@samba.org> wrote:
> Hi,
>
> please review and apply to current and long-term kernels like 4.9, please.
>
> Björn
diff mbox

Patch

From 0bf80f62d2e7e8cc16dbed7d9e6b9ac2fe40df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de>
Date: Wed, 3 May 2017 23:47:44 +0200
Subject: [PATCH] CIFS: fix mapping of SFM_SPACE and SFM_PERIOD

- trailing space maps to 0xF028
- trailing period maps to 0xF029

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
---
 fs/cifs/cifs_unicode.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/cifs/cifs_unicode.h b/fs/cifs/cifs_unicode.h
index 3d7298c..7bfb76e 100644
--- a/fs/cifs/cifs_unicode.h
+++ b/fs/cifs/cifs_unicode.h
@@ -64,8 +64,8 @@ 
 #define SFM_LESSTHAN    ((__u16) 0xF023)
 #define SFM_PIPE        ((__u16) 0xF027)
 #define SFM_SLASH       ((__u16) 0xF026)
-#define SFM_PERIOD	((__u16) 0xF028)
-#define SFM_SPACE	((__u16) 0xF029)
+#define SFM_SPACE	((__u16) 0xF028)
+#define SFM_PERIOD	((__u16) 0xF029)
 
 /*
  * Mapping mechanism to use when one of the seven reserved characters is
-- 
2.7.4